| Thread | Last Post | Replies |
|
| setting focus on JComboBox (1.3) | 30 Jun 2006 18:26 GMT | 1 |
How can I change focus from one JComboBox to another JComboBox. Both components are editable and I'm working on Java 1.3 requestFocus doesn't work on 1.3 (on 1.4 is fine). I read that there is a lot of bugs for JComboBox in Java < 1.4 0 - maybe someone knows any
|
| JCheckbox in a JTable | 30 Jun 2006 16:52 GMT | 2 |
my JTable has a column containing a JCheckBox (with a renderer and an editor associated). Until now, it works by checking/unchecking the checkbox in any of the rows, but I don't know how to let a JDialog appear once I click on a checkBox, without selecting the checkBox.
|
| AbstractAction | 30 Jun 2006 11:54 GMT | 4 |
From Java 1.5 or lower version, can an Action be used for JCheckBox & JCheckBoxMenuItem pair or JToggleButton & JCheckBoxMenuItem pair? Java 1.6 has Action.SELECTED_KEY but 1.5 doesnt have. Also how to execute an Action from program? like JButton has a
|
| help needed @ Taskbar dimensions (screen size- taskbar size) | 30 Jun 2006 09:15 GMT | 1 |
I'm bulding a stand-alone-java GUI application. This application is expected to run both on Windows & Linux The content of GUI window is self configration at run time with csv file.
|
| Transparent JDesktopPane | 30 Jun 2006 04:32 GMT | 2 |
I was so very happy today, because I had my UI looking just really blody flash. Then I tried moving a JInternalFrame, and the whole house of cards tumbled down. My whole L&F depends on having a JPanel in the background of an MDI
|
| font size in pixels? | 29 Jun 2006 19:50 GMT | 3 |
Suppose you want to use a font that's 12 pixels (not 12 points) Arial. How would you do it? It seems like the answer has something to do with FontRenderContext and AffineTransform but does anybody have code that creates a font with a size in
|
| JScrollPane or JSplitPane Problem. | 29 Jun 2006 19:13 GMT | 1 |
I'm writing an interface that has a verticle split pane, the top and bottom of which both contain JScrollPanes with JEditor panes inside each scrollpane. It sits within a JTabbedPane which is in a JInternalFrame on a JDesktopPane.
|
| Button event | 29 Jun 2006 18:05 GMT | 9 |
I'm a real noob with java. I worked for 4 years with php but now I have to use java. I'm looking for a clean way to get an action behind a button/menuitem. I already found the class actionListener. but the method actionpreformed
|
| Best Layout? | 29 Jun 2006 17:54 GMT | 7 |
Hi everyone. I am kind of new to Java in general, much less Swing, but I am working on a project where I want to create somewhat of a flow chart with draggable boxes and lines connecting them. I plan on representing each box in the "flow chart" with a JPanel. Keeping in
|
| GridBagBlues #2376234 | 29 Jun 2006 15:43 GMT | 3 |
In the GridBagLayout example that follows, all the panels nest nicely within the frame with no spare space. Now change the last three lines of the constructor from
|
| setting Swing l&f to use a gradient | 28 Jun 2006 20:06 GMT | 1 |
I tried UIManager.put("MenuBar.gradient", MENUBAR_BG_GRADIENT); where MENUBAR_BG_GRADIENT is a java.awt.GradientPaint object. At runtime there is a ClassCastException:
|
| an enclosing instance that contains javax.swing.text.StyleContext.NamedStyle is required | 28 Jun 2006 17:59 GMT | 2 |
I try to program a JTextPane that is to hold two different kinds of lines. The first should be colored green and contain OK-messages; the second should be colored red and contain error-messages. To achieve this I have to operate on the text that is displayed in the JTextPane.
|
| JDK 1.6 and JFrame icon | 28 Jun 2006 07:16 GMT | 2 |
I'm testing my application using JDK 1.6 (to make sure it will also work with that). There is one thing that is not working properly: my icon that I set for the main window (JFrame) is not displaying under Windows when using
|
| Java version problems | 28 Jun 2006 02:55 GMT | 5 |
So here is the scenario: I am working on a collaborative application which as a whole requires JDK 1.3. However one part of this application viz. a whiteboard application only runs with JDK 1.2 ! If I run the whiteboard application in a JDK 1.3
|
| The Adapter Design Pattern - Relates two otherwise incompatible interfaces | 26 Jun 2006 23:16 GMT | 1 |
Hi Friends, Don't missout on these articles on design techniques: The Adapter Design Pattern: http://javalive.com/modules/articles/article.php?id=20
|