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

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 3111 - 3140 of 3432   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
3111
MessageTo set row index 4 to have a background colour of red, override the default renderer: public Component getTableCellRendererComponent(JTable table, ...
Greg Munt
greg@...
Send Email
Sep 2, 2002
10:58 am
3112
Following is a prepare Renderer method which I am writing after subclassing the JTable class. But this doesn't work properly. When I select the row only at...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 3, 2002
4:44 pm
3113
Hi All, Following is my JTable code. When I maximize the frame window all the column gets resized, whereas I am specifying AUTO_RESIZE_LAST_COLUMN. Is there ...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 3, 2002
6:19 pm
3114
Hi, I have implemented a pretty good table, it has splitting, merging, copy, past, undo, about 50 types of custom cell renderers and editors... the one thing I...
Joe Cole
joecole@...
Send Email
Sep 3, 2002
11:36 pm
3115
Hi Well, I just completely rewrote the JPopupMenu to use a single JComponent, and it turns out I didnt need to. If you ever subclass JTable and add in...
Joe Cole
joecole@...
Send Email
Sep 4, 2002
2:39 am
3116
I think this is to do with the ordering of the function calls. I feel the super.prepareRenderer(renderer, row, column); call should come in the end just before...
Krishnakumar CS
CS.Krishnakumar@...
Send Email
Sep 4, 2002
4:12 pm
3117
Hi, Urgent. Can anybody suggest me a solution..... I have created a JTable with a defaulttablemodel. I have also implemented the rowheader and columnheader for...
rajeswari_pj@...
Send Email
Sep 4, 2002
4:32 pm
3118
Please send some code, so that it will be easy to analyse checkout the fireXXXXX() function calls. Also does the JSObject update the table directly ? regards, ...
Krishnakumar CS
CS.Krishnakumar@...
Send Email
Sep 4, 2002
4:46 pm
3119
Hi I have herewith attached my java file. The JSObject is used to call a javascript function in my html. Thanks Raji ... ...
rajeswari_pj@...
Send Email
Sep 4, 2002
4:55 pm
3120
Your code seems ok. But I see a chance that you compiled the code with the folllowing lines uncommented //fireTableCellUpdated(row, col); --> in setValueAt() ...
Krishnakumar CS
CS.Krishnakumar@...
Send Email
Sep 4, 2002
5:11 pm
3121
Hi Thanks for the response. But anyway I tried compiling again after removing those 2 lines of code but still the problem persists. And also one strange thing...
rajeswari_pj@...
Send Email
Sep 4, 2002
5:20 pm
3122
Hi All, I have a JFrame say its name is frame. frame has a JPanel say topJPanel. topJPanel has a JPanel say northJPanel in NORTH and a JPanel say centerJPanel...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 4, 2002
8:37 pm
3123
Try this class level method : javax.swing.SwingUtilities.updateComponentTreeUI(this); whenever you edit the cell. Hope this can solve your problem :) Regards ...
prasanth@...
Send Email
Sep 5, 2002
8:42 am
3124
Hi, I tried that too but no luck. Before adding this line of code, the table doesn't reload when I click on a cell either in the same row or in same column of...
rajeswari_pj@...
Send Email
Sep 5, 2002
1:09 pm
3125
Hi All, I have a JFrame say its name is frame. frame has a JPanel say topJPanel. topJPanel has a JPanel say northJPanel in NORTH and a JPanel say centerJPanel...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 5, 2002
1:13 pm
3126
In the implementation of the DefaultTableCellRenderer and JTable, the background color of the table overrides any colors you might set in prepareRenderer. Try...
user@...
Send Email
Sep 5, 2002
3:49 pm
3127
Hi All, I have a JTable in which I am showing 4 columns. When a user double clicks on a particular row I have to open a popup and show the data of that row in ...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 5, 2002
6:21 pm
3128
I tried the following MouseAdapter but it listens only right click of mouse. What about left button click? I want to capture double click of left mouse button...
Bhangale, Bhushan
Bhushan.Bhangale@...
Send Email
Sep 5, 2002
7:17 pm
3129
I want to acomplish something that seemed very simple to me -- selecting rows and chaning row selections in the JTable based on certain logic real time. I want...
Reinstein, Lenny
Leonard.Reinstein@...
Send Email
Sep 5, 2002
11:13 pm
3130
Don't know if it's the cause of the problem but a table doesn't have any children so you should use repaint not revalidate. Dave Wathen Canzonet Limited Phone:...
Dave Wathen
dave.wathen@...
Send Email
Sep 6, 2002
5:12 am
3131
Hi All, I want to color only some nodes of a JTree programatically if a perticular condition is true. My nodes extends DefaultMutableTreeNode. Does anybody...
Soumitra Dhankar
soumitra.dhankar@...
Send Email
Sep 6, 2002
11:27 am
3132
Hi, Soumitra, Set your own TreeCellRenderer. For example, you could override DefaultTreeCellRenderer.getTreeCellRendererComponent() to set the background if a...
Andrey Pikalev
aep@...
Send Email
Sep 6, 2002
12:01 pm
3133
... _______________________________________________ Advanced-swing mailing list Advanced-swing@... http://eos.dk/mailman/listinfo/advanced-swing...
Jean-Louis, Erwin
erwin.jean-louis@...
Send Email
Sep 6, 2002
2:55 pm
3134
That cannot happen, because I'm using the same code for exactly the same purpose. May be your if condition is not same. This code does not see which is the...
Krishnakumar CS
CS.Krishnakumar@...
Send Email
Sep 7, 2002
7:11 am
3135
Hi all, it seems that I am stuck with a problem that I just cannot get a grip on. I want to be able to filter the content that is displayed in a JTable. I want...
Ralph Kar
rk@...
Send Email
Sep 10, 2002
2:24 pm
3136
Hi Evan, I am afraid, I have to tell you that the model index of the columns does not necessarly have to be from 0..n-1. The view index of the columns is ...
Ralph Kar
rk@...
Send Email
Sep 11, 2002
7:54 am
3137
It's not documented as such but I suspect that 0..n-1 was the intention. Looking at the source of JTable the method createDefaultColumnsFromModel relies on...
Dave Wathen
dave.wathen@...
Send Email
Sep 11, 2002
9:38 am
3138
Well, arguing this way I could also say the opposite. When the column index is supposed to be 0..n-1 (considering your argument), then why do the following...
Ralph Kar
rk@...
Send Email
Sep 11, 2002
12:25 pm
3139
JTable.setAutoCreateColumnsFromModel(false) is a performance feature to prevent the JTable doing unnecessary work when you're going to supply your own column...
Dave Wathen
dave.wathen@...
Send Email
Sep 11, 2002
12:47 pm
3140
Hi Dave, I agree with you that setAutoCreateColumnsFromModel() and createDefaultColumnsFromModel() do not really belong into this discussion. You are also...
Ralph Kar
rk@...
Send Email
Sep 11, 2002
1:28 pm
Messages 3111 - 3140 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