| Thread | Last Post | Replies |
|
| No transparency in Vista JFrame icon | 31 May 2007 22:54 GMT | 2 |
Frame and JFrame's SetIconImage() does not respect transparency in Vista when using a JVM prior to 1.6. Any ideas on possible alternatives (other than drawing the entire frame myself)?
|
| Swing Battleship Game | 30 May 2007 14:52 GMT | 11 |
For a class I am taking I have to write a Battleship game. I am using Swing to program a GUI and I would like to make it so that there are two panes holding the 11x11 grid for the spots on the computer's and the player's boards. I would like the position of the ships on the
|
| right alignment of jtextpane? | 30 May 2007 01:56 GMT | 1 |
how can i set right alignment of jtextpane?
|
| Using a method to change a buttons color | 30 May 2007 01:46 GMT | 1 |
I have a series of buttons name btnPXxY where X and Y are numbers ranging from 0 to 10 in a grid of buttons. For example, a button name btnP0x0 and another named btnP0x1 etc.
|
| JGoodies Questions | 29 May 2007 23:30 GMT | 1 |
I'm very new to JGoodies and am trying to understand its general approach. Firstly, do you know of any forum, mailing list, etc., that is devoted exclusively to JGoodies?
|
| JComboBox.setSelectedItem() doesn´t update selected Item? | 29 May 2007 02:12 GMT | 10 |
I have written a program that heavily uses JComboBoxes to have the user select some stuff. In oder to allow for a quick exchange between JComboBox and JList, I have coded a class that could serve as Model for both JComponents. In my program it is frequently the case that
|
| How to draw a simple line.... | 29 May 2007 01:06 GMT | 15 |
Good Morning/Evening Could someone please show me how to draw just a simple line from say 1,1 to 25,25 using the 2d package? Thank you,
|
| JTable Editing not take effect until hit Enter | 26 May 2007 13:26 GMT | 3 |
Hello dudes, I found out if you editing a JTable cell without hit the Enter or Tab key. Then the new cell value won't take effect. For example, a table cell value is "abc" and
|
| "fading" graphics using Graphics2D | 26 May 2007 08:27 GMT | 2 |
I started a small Java program just as something fun to do. It simulates a sonar, like on a submarine. Right now I'm at the point where I have multiple objects moving independently around the sonar screen with a rotating needle. I keep track of the speed/location/etc. of each ...
|
| Detecting Focus In A Tabbed Pane | 25 May 2007 19:36 GMT | 1 |
I have a superclass, guiModule, that is a super class for several panes I'm using that are in a JTabbedPane. In the superclass I have specified that it implements FocusListener and have the focusGained() method in it. I would have thought that when I selected a particular tab on ...
|
| GUI best practices? | 25 May 2007 19:35 GMT | 2 |
A lot of the Swing examples and tutorials out there do a great job of teaching the API, but not such a great job showing some best practices that are used in real-world Swing apps. Does anyone have any favorite resources for such best practices?
|
| JXxxx.setEditable(boolean b) | 24 May 2007 14:50 GMT | 2 |
There is setEditable(boolean b) method in JTree class. But I can't found the similar method in JTable, JTextField, etc. I don't want user edit the cells in my JTable or JTextField.
|
| JButton and Execute Windows Batch File | 20 May 2007 00:01 GMT | 2 |
I am new to Java, I have built a GUI that contains a JButton. I would like this JButton to execute a windows batch file when the user clicks the button. Below is my attempt, please help. private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
|
| How to add two components on a Jtable header? | 19 May 2007 09:54 GMT | 1 |
I am trying to add two buttons in table header for different functionalities. I want to catch pressed / unpressed event of the buttons separately. Is it possible to have two components in table header and they should work independently accroding to events fired on
|
| What's the simplest way/tool to create web pages? | 18 May 2007 16:21 GMT | 3 |
Is there a powerful/user-friendly tool for artist/non-programmer to develop the web page (i.e. a tool-generated HTML source file w/ possibly some Javascript code generated for some special effects), and have automatically/generated call to make a server-side process (i.e.
|