| Thread | Last Post | Replies |
|
| Limiting number of characters in a JTable columns? | 17 Nov 2003 20:01 GMT | 1 |
How can I limited the number of characters in a JTable, different for every column?
|
| translate from screen coordinate to component? | 17 Nov 2003 11:35 GMT | 2 |
I'm trying to figure out which node my mouse cursor is over when my DragSourceListener gets a DragSourceDragEvent. I can get the location from the event, but how do I translate that coordinate into one I can use in JTree's getPathForLocation method?
|
| Accessing Nested GUI components. Comments and Opinions needed. | 17 Nov 2003 08:35 GMT | 3 |
I have a question regarding GUI design... Suppose I have a Swing Component such as a JPanel, that contains other components. That is suppose A contains B contains C contains D. Now, my application will be able to get a reference to A, but it's
|
| closing a modal jdialog | 17 Nov 2003 01:17 GMT | 4 |
I have got a modal Jdialog (Jidalog extended class) that has a timer (wich is a private member of that class) started. The user should be able close tis dialog with the close-button or with the x in the caption bar. How can I make the dialg close? And how can I make sure the object ...
|
| Getting JTooBar and JDesktop pane to play well together | 16 Nov 2003 13:47 GMT | 3 |
Hey all, I tried accessing some FAQs on this subject but didn't turn up with a satisfactory answer so I ask all of you. I'm trying to create a JFrame derived instance that can both display a
|
| How to control JScrollPane default behavior for a lengthy content? | 16 Nov 2003 00:54 GMT | 2 |
When we put a lengthy line-wrapped String in a not-so-large JTextArea which is enclosed in a JScrollPane, it automatically scrolls down to the end of the string. That is, the string is displayed from its halfway. How could we suppress this auto-scrolling behavior and
|
| Window placement on screen | 15 Nov 2003 22:45 GMT | 3 |
I created a window as a subclass of JFrame class. Whenever I set this window to be visible, it occupies the upper-left corner of the screen. Can I set where to place the window with respect to the Physical screen? Thanks in advance,
|
| Cannot divide into an 1:2 fashion by GridBagLayout | 15 Nov 2003 17:02 GMT | 16 |
I tried to use GridBagLayout to divide a window into two sides, the ratio of the left to the right is 1:2, with which I can put a button on each side. This is my code, but when I run it,
|
| Calculating font size | 15 Nov 2003 15:24 GMT | 2 |
I have a JFrame that contains just a JLabel. The text in the JLabel may change. I want to reset the size of the Font in the JLabel whenever the JFrame is resized. The font size should
|
| How to set Caret in JTable Cell | 15 Nov 2003 14:28 GMT | 2 |
How to set the caret(My Caret Class that extends DefaultCaret) to a JTable cell. Is there any way to setCaret() just in case of JTextField() in JTable. Regards Asit
|
| Switch Locale at runtime? | 15 Nov 2003 12:49 GMT | 2 |
How difficult is it to switch the Locale at runtime? I want the user to choose the UI language and immediately switch all the texts on the components, according to the new language. I found one solution here:
|
| 1.4 Drag & Drop JTree | 15 Nov 2003 10:45 GMT | 1 |
I'm trying to implement dnd between two JTrees in a splitpane. When the drag leaves the bounds of a tree I get an exception from the dragExit method. I've written a custom TransferHandler which works fine except for the
|
| Can AWT menuBar 's background color be changed | 15 Nov 2003 00:35 GMT | 2 |
Hi....good evening! I search through the web for ways to set background of menuBar (like changing alpha, gradient that sort of things), is there are suggestion for me to try, my application all are AWT components.
|
| Any help? - Regarding pluggable look and Feel | 14 Nov 2003 17:29 GMT | 3 |
Does AWT supports pluggable look and feel if I do customize one Java "look and Feel"? If I don't customize one but just specify WINDOW UI by code below, will AWT object work as system layout, I have such question because my application
|
| JTable TextWrap | 14 Nov 2003 16:52 GMT | 2 |
Hello, I've set the height of the rows in my JTable to be a good height but can't seem to get the text wrapped onto a second line. Is it possible? Thanks, Kevin.
|