Hi every one I am facing a problem that seems bizzare to me. I have created a wizard which uses the fancy text over image featue on the left to show the...
Hello, all. I'd like to create a rectangle on the screen that contains a number of icons. I want the user to able able to drag them around and arrange them...
Erik Ostermueller
eostermueller@...
Oct 14, 2003 7:06 am
3380
Hi, Does anyone have some advice - or pointers to code- on how to implement a "snap-to" JSplitPane? I need to create something similar to the one in MS...
Chris Kimm
chris@...
Oct 21, 2003 10:51 pm
3381
<selfQuote> ... </selfQuote> I decided to give JGraph a go anyway. After a bit of work, I manage to get drag and drop working with a tiny amount of code. Here...
Erik Ostermueller
eostermueller@...
Oct 22, 2003 8:33 pm
3382
Hi, I want enable TAB/SHIFT-TAB in a JTextArea to go to the next JTextArea and not print a tab character in the JTextArea. This can be easily done with ...
Deblauwe, Wim
wim.deblauwe@...
Oct 29, 2003 12:51 pm
3383
Hi Wim, The same also happens with the second JTextArea if you press Shift-Tab from the button. And for the same reasons. Change these two lines in the...
Joe Sam Shirah
jshirah@...
Oct 29, 2003 5:25 pm
3384
Thank you for your response and sorry about the import statements. I'm getting too used to using IntelliJ I'm afraid. There all I need to do is press...
Deblauwe, Wim
wim.deblauwe@...
Oct 30, 2003 7:11 am
3385
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 { ...