| Thread | Last Post | Replies |
|
| How to detect the origin Button of an ActionEvent? | 14 Nov 2005 15:57 GMT | 1 |
Assume the user clicked on a button which in turn results in an ActionEvent e. Is there a way to detect in actionperformed() from which button the click was originally coming? A statement like public void actionPerformed(ActionEvent e){
|
| Odd Behavior with Validate() and JScrollPane | 14 Nov 2005 11:19 GMT | 4 |
I've been trying to figure this out for a while and have finally narrowed it down. Here's the problem. I have a JFrame w/ a BorderLayout. the BorderLayout.CENTER component changes depending on what the user is doing. So of course, when this happens, I remove the
|
| switch application between SDI and MDI | 14 Nov 2005 09:42 GMT | 3 |
I need to implement a method to switch an application based on a main window with many tables and charts between MDI and SDI. Is possible? How? Thanks all,
|
| SWT - window resizable | 14 Nov 2005 02:42 GMT | 3 |
I'm quite new to SWT and have some Swing expierence. How to set resizable = false for a shell window? I have setSize(), setBoundle() methods but no method like setResizable(). I've already set size to my shell window and want it not to be resizable. Is it so complicated?
|
| adding JList in Gui window | 13 Nov 2005 18:32 GMT | 1 |
hi, I'm trying to add a JList into my center field but I can't get it to be visible. Can anyone tell my what I'm doing wrong. Thanx :) here's my code: import javax.swing.*;
|
| Hi All, | 12 Nov 2005 16:32 GMT | 3 |
Could tell me how to get a existing value present in other frame for eg. I have name present in basic frame and in second frame i need to get that value of name how i can i do that?
|
| imageIcon | 12 Nov 2005 16:15 GMT | 2 |
I have a question about images. I'm using: imageLabel.setIcon(image); displayPane.add(imageLabel); functions to display picture on a panel. I'm using picture as backgroun of a
|
| has anyone gotten this exception using SkinLF? | 12 Nov 2005 15:01 GMT | 4 |
I get the following exception when loading certain skins with SkinLF Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.l2fprod.gui.plaf.skin.impl.gtk.GtkSeparator.getPreferredSize(GtkSeparator.java:92)
|
| Loss of selection on loss of focus in JTextPane | 12 Nov 2005 07:09 GMT | 1 |
If I select some text in a JTextPane and it loses focus, the selection is no longer selected until the pane regains focus. I expected the caret to disappear but not the selection information as well. Is this normal behaviour or am I doing something wrong? JDK 5.0 and 6.0.
|
| Removing and adding panel which is inside another panel | 12 Nov 2005 03:50 GMT | 7 |
I've a panel with BorderLayout. Inside this, I've a top panel with radio buttons and a panel in the CENTER. If the user clicks cancel, I want to remove the panel from the CENTER and replace it with another panel. For this, I tried doing
|
| JScrollPane does not show up | 11 Nov 2005 14:54 GMT | 3 |
I have added a JScrollPane on the vertical side. I have created a JTextArea that is 5 rows. When the five rows are filled they are hidden. Have I missed something in the code? Cheers,
|
| Problem setting focus in a tabbed pane | 11 Nov 2005 11:21 GMT | 3 |
I am trying to transfer focus to the text area in the tab with an index of 1 whenever the tab is selected but it's just not working. The focus stays on the tab name itself. Here's the code: tabFolder.addChangeListener(new ChangeListener()
|
| flashing a JXTreeTable cell | 11 Nov 2005 07:50 GMT | 3 |
I need to flash a JXTreeTable cell in response to new incoming data. I cannot find a way out... please help me!! Thanks, DM
|
| Dynamically adding nodes without a TreeModel | 10 Nov 2005 19:38 GMT | 3 |
I am adding nodes dynamically after the tree is visible. It's adding the first child node I create and it is showing it. When I add a second node, it doesn't show the that. And when I debug the code I found that the node was added to the tree but it is not visible. I tried by
|
| Some questions about JEditPane. | 10 Nov 2005 18:38 GMT | 2 |
Hi at all, here are my questions. :-) 1. Is it possible to disable automatic linewrapping in a JEditPane, so that long lines will be displayed as they are?
|