Search the web
Sign In
New User? Sign Up
advanced-swing
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 3077 - 3106 of 3432   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3077
I want to show some JTree leaves as nodes i.e even though they do not contain any children I still want to show then as nodes. Any idea how to go abt it. TIA ...
Soumitra Dhankar
soumitra.dhankar@...
Send Email
Aug 3, 2002
1:52 pm
3078
you could override isLeaf() and return false or set a renderer on the tree which could render it as a node ... From: advanced-swing-admin@......
Roger Talkov
rtalkov@...
Send Email
Aug 4, 2002
2:25 pm
3079
Yes - write you own version of tablemodel derived from abstracttablemodel and only fire events that notifies listeners when there really is a change. And make...
Max Rydahl Andersen
max@...
Send Email
Aug 6, 2002
8:49 am
3080
Over ride the method isLeaf () and return boolean value false /** * overriding the base class method so that the icon - i.e the leaf gets * displayed as a...
vijayv
vijayv@...
Send Email
Aug 6, 2002
10:43 am
3081
I am facing one problem in Swing, I am calling a time consuming function after selecting a menuitem option from JMenuItem , so to manage that, I am trying to...
Utpal Banerjee
utpal_banerjee@...
Send Email
Aug 8, 2002
2:03 am
3082
You cannot perform time consuming functions on the Swing event thread and also have Swing perform other tasks like displaying busy cursors or dialogs with...
Steve Johnston
spjohnston@...
Send Email
Aug 8, 2002
2:06 pm
3083
So I've begun testing my Custom UI, and lo and behold, for some reason I have to create a UI Class for JFileChooser extending BasicFileChooserUI. I got all the...
Danilo Gurovich
dgurovich@...
Send Email
Aug 8, 2002
6:57 pm
3084
Hi All, I wan't to add a JButton in the Divider of JSplitPane. How can I achieve this ? Please Suggest. -Thanks and Regards Panyam Krishna Murthy...
Panyam Krishna Murthy
panyamkm@...
Send Email
Aug 14, 2002
11:24 am
3085
Hi All, I have a JTree which contains nodes that are extending from DefaultMutableTreeNode. I want to programatically add some nodes to this tree. These nodes...
Soumitra Dhankar
soumitra.dhankar@...
Send Email
Aug 20, 2002
2:46 pm
3086
Hi All, I have a JTree which contains nodes that are extending from DefaultMutableTreeNode. I want to programatically add some nodes to this tree. These nodes...
Soumitra Dhankar
soumitra.dhankar@...
Send Email
Aug 20, 2002
2:48 pm
3087
Hi All, I have a JTree which contains nodes of a class that extends DefaultMutableTreeNode. I want to programatically add some more nodes to this tree. These...
Soumitra Dhankar
soumitra.dhankar@...
Send Email
Aug 21, 2002
9:13 am
3088
Hi, Does it work ? AbstractButton.setIconTextGap( aValue ); the method introduced since jdk1.4.0. I could not manage it , always get "The default value of this...
Alexander Gusev
alex@...
Send Email
Aug 22, 2002
1:54 pm
3089
I see that fewer and fewer people respond to questions posted on this mailing list. But I will still try to ask the question. I handle 2 events in a particular...
Reinstein, Lenny
Leonard.Reinstein@...
Send Email
Aug 26, 2002
7:51 pm
3090
Hello All, I am trying to develop a UI that has 2 panes showing JTrees. I want such a functionality that if a user drags a node from one tree to another then...
Deepesh Bhar
dennis_netbeans@...
Send Email
Aug 27, 2002
9:15 am
3091
Hi all, I have a JTabbedPane where each panel is used for input to a database and also displays data from the database. Now i want that everytime a panel gets...
Pallika Haridas Kanani
phk207@...
Send Email
Aug 27, 2002
7:18 pm
3092
Hi all, here's an interesting problem. I have a dynamically generated series of text fields which store the values of certain entities. Now, i have a field...
Pallika Haridas Kanani
phk207@...
Send Email
Aug 27, 2002
7:32 pm
3093
The paint method of JComponent calls paintComponent, paintBorder and paintChildren. The container that holds the two trees will call paintChildren, which...
Kurt Baumgarten
k.baumgarten@...
Send Email
Aug 27, 2002
10:25 pm
3094
one crude way will be to put a mouseListener on the parent of Tabbed Panel vikram ... _______________________________________________ Advanced-swing mailing...
Vikram Kumar
vkumar@...
Send Email
Aug 28, 2002
2:46 am
3095
Hi Kurt, My main problem is to draw a line from source node to target node. To draw a line I need start and end coordinates of the source and target nodes...
Dennis
dennis_netbeans@...
Send Email
Aug 28, 2002
4:53 am
3096
I have done something like that in an awt applet, maybe something like the following will works lso for your needs: class MyVetoableChange implements...
Salvador Richter
Salvador.Richter@...
Send Email
Aug 28, 2002
6:17 am
3097
Add a ChangeListener Dave Wathen Canzonet Limited Phone: +44 (0)20 8660 5171 Mobile: +44 (0)7968 167934 Fax: +44 (0)870 051 7664 http://www.canzonet.com ...
Dave Wathen
dave.wathen@...
Send Email
Aug 28, 2002
7:16 am
3098
... In JTree there are some methods to convert from rows/paths to graphical positions: Rectangle getRowBounds(int row) Rectangle getPathBounds(TreePath path) ...
Christian Pesch
christian.pesch@...
Send Email
Aug 28, 2002
7:25 am
3099
... There is JTabbedPane#addChangeListener. As far as the API docs say, it fires a ChangeEvent every time a tab is selected. -- Christian Pesch - Product...
Christian Pesch
christian.pesch@...
Send Email
Aug 28, 2002
7:28 am
3100
You may want to use a layered pane instead? That way you don't have to override the paint() method, and the things drawn on the higher layer should always...
Joel Kamentz
Joel.Kamentz@...
Send Email
Aug 28, 2002
2:19 pm
3101
Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes ...
rajeswari_pj@...
Send Email
Aug 28, 2002
5:25 pm
3102
Hi All, I want to color a row based on time. I have four columns in a row in which one column is storing time. I want to highlight the whole row say till 1 ...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Aug 29, 2002
8:31 pm
3103
Hi! You will have to override the TableCellRenderer for that and set the background.. Have you tried doing that ??? vikram...
Vikram Kumar
vkumar@...
Send Email
Aug 30, 2002
2:38 am
3104
MessageFor the timing look at javax.swing.Timer. For the highlighting see TableCellRenderer or JTable.prepareRenderer. You can call repaint or fire table model...
Dave Wathen
dave.wathen@...
Send Email
Aug 30, 2002
5:25 am
3105
Thanks Dave, I am already using Timer. But I am not getting a way to color the whole row. Cell coloringis fine that I did using TableCellRenderer. /** *...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Aug 30, 2002
12:13 pm
3106
I did that but its a cell renderer not a row renderer. I want a full row to get colored depending upon a column value. ... From: Vikram Kumar...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Aug 30, 2002
12:15 pm
Messages 3077 - 3106 of 3432   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help