Hi all, I've coded my own MyCellRenderer as an inner class which implements ListCellRenderer interface. I'm using this to display a JList. (ie. ...
Andrew.Massey@...
Nov 10, 2003 2:02 pm
3386
Yes, you've misunderstood something about ListCellRender -- it only renders / paints. If you want the components to be live, you'll need to do something else....
Joel Kamentz
Joel.Kamentz@...
Nov 10, 2003 3:01 pm
3387
I'm not sure if this list is still alive, but.... I've got a swing app that has a JFrame as it's main window. Surrounding this frame are three JDialogs that...
Brian Kreulen
bkreulen@...
Nov 13, 2003 5:57 pm
3388
Try ComponentListener. I've never tried it, but there's a ComponentMoved method that may be what you want. Jon Knight ... From: Brian Kreulen...
Knight, Jon
jknight@...
Nov 13, 2003 7:17 pm
3389
Hi all, in my application, I'm loading a lot of rows from a database on the main frame with SQLJ in my JTable. How can I break off this loading process with...
Hado1701@...
Nov 29, 2003 3:49 pm
3390
hi, i'm new to swing and this mailing list, but i'm not a moron and have experimented plenty with the code; i've even begun reading the shared source code, and...
steven alyari
salyari@...
Dec 20, 2003 6:16 am
3391
you know it seems i partly just answered my own question: to figure out the new container height i need to look at the last component so i do: ...
steven alyari
salyari@...
Dec 20, 2003 7:30 am
3392
cool, it appears i have completely answered my initial question; it appears that my JPanel behaves exactly how I want. The credit to this goes to this mailing...
steven alyari
salyari@...
Dec 20, 2003 8:28 am
3393
Do you really want the scrollbars all of the time? The drag-and-drop didn't seem to do anything. Swing is great and I like the layout managers, etc. There is...
Joel Kamentz
Joel.Kamentz@...
Dec 22, 2003 4:39 pm
3394
Hello all, I've got three JDialogs that I would like to "tie" to a JFrame. By "tie" I mean that if someone moves the JFrame, it also moves the three JDialogs...
Brian Kreulen
bkreulen@...
Jan 16, 2004 12:12 pm
3395
My first time in here so Hello I know from the beggining all the values suposed to go to one Column. I need to calculate the size to set in the 'TableColumn'...
Marcos.Rebelo@...
Jan 16, 2004 2:08 pm
3396
This is the most simple code that I found to show this error. I have JFrame with a complex Content Pane (not this one). I'm trying to recreate the Content pane...
Marcos.Rebelo@...
Jan 19, 2004 8:08 am
3397
After this line: m_frame.setContentPane(createPanel(fileChooser.getSelectedFile())); put: m_frame.validate(); or m_frame.pack(); if the size of the frame...
Deblauwe, Wim
wim.deblauwe@...
Jan 19, 2004 8:13 am
3398
Test =) nsgjmraipdgiue -- Test, yep....
ManojV@...
Jan 19, 2004 9:14 am
3399
I need a Open file Dialog. I was seeing the JFileChooser and I did this class. public class JDialogFileOpen extends JFileChooser { public int...
Marcos.Rebelo@...
Jan 21, 2004 4:17 pm
3400
I don't have access to the internet, it's why I'm asking this in here. I need to learn the JTrees and to read and write XML files. Someone as example of how to...
Marcos.Rebelo@...
Jan 23, 2004 2:45 pm
3401
This is one of the most strange error that I ever found. If I run the some code in Windows NT works, in a sun workstation works and in Window throw Exceed to a...
Marcos.Rebelo@...
Jan 27, 2004 1:59 pm
3402
I'm lost how to do it with a JTable. This code is not running import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.table.*; ...
Marcos.Rebelo@...
Jan 30, 2004 7:31 am
3403
Call fireTableRowsInserted() in the incrementRow() function ... From: Marcos.Rebelo@... [mailto:Marcos.Rebelo@...] Sent: woensdag 4...
Deblauwe, Wim
wim.deblauwe@...
Feb 4, 2004 3:19 pm
3404
What is the better way to add lines to a JTable. I have my TableModal and I add one line to the Model, know I need the line to apear in the interface. The only...
Marcos.Rebelo@...
Feb 4, 2004 3:39 pm
3405
Thanks for this answer, I look in the table and I never remember to go to the TableModel. Onether question. Know I have the Table with the cells editable. If I...
Marcos.Rebelo@...
Feb 4, 2004 5:21 pm
3406
Hi, first of all, you need to call fireTableDataChanged() from _within_ your TableModel incrementRow() method: class MyTableModel extends AbstractTableModel { ...
Deblauwe, Wim
wim.deblauwe@...
Feb 4, 2004 11:33 pm
3407
Hi, I'm trying to make a java application and I was just wondering if java has a ListView fuction similar to that of VB? I've been trying to find some sources...
Jessamine
jezzy_ph@...
Feb 17, 2004 8:41 am
3408
Do you mean JList? More info on Swing: http://java.sun.com/docs/books/tutorial/uiswing/ ... From: Jessamine [mailto:jezzy_ph@...] Sent: dinsdag 17...
Deblauwe, Wim
wim.deblauwe@...
Feb 17, 2004 9:05 am
3409
Hi, I think what you are talking about is similar to JList in java. Please refer java API for this. ... From: advanced-swing-admin@......
Attili Venkata Ravi K...
ravi.attili@...
Feb 17, 2004 9:24 am
3410
In my program I'm using ImageIcon for the buttons and I had this code Action actClose = new AbstractAction("Close", new ...
Marcos.Rebelo@...
Feb 17, 2004 11:39 am
3411
Use the following construct: ImageIcon image = new ImageIcon( getClass().getResource( "images/file_close.gif" ) ); This construct will find resources that are...
Deblauwe, Wim
wim.deblauwe@...
Feb 17, 2004 12:03 pm
3412
I'm using one JDesktopPane in my project and I need to set one JInternalFrame in front of all the other and selected. Until know this is the better I can do....
Marcos.Rebelo@...
Feb 18, 2004 2:54 pm
3413
Hi List! How should I set the colors of my JComboBox instance? The following sets it for all combo: <CODE> UIManager.put("ComboBox.disabledBackground",...
Walthier Máté
m.walthier@...
Feb 18, 2004 4:15 pm
3414
Calling just the desktop manager method only does part of the job andleaves the state inconsistent. This code should fix your problem: pnButtons.add(new...