| Thread | Last Post | Replies |
|
| Save Dialog, filename reset when changing filter | 18 Oct 2004 06:03 GMT | 19 |
I have JFileChooser set as a Save Dialog, now my problem is everytime I type in the filename and then change to different filter from the dropdown menu, the filename is reset to blank again. How do I go about fixing that by appending the selected filter
|
| how can i realize a table with fixed first row in AWT - no swing!!!!!!! | 16 Oct 2004 11:22 GMT | 1 |
i have to realize a table where the header/1st row should be fixed and the user can scroll over the rest of the rows (row 2 to "infinitiy" i tried to realize it with a public panel class the header is a panel itself
|
| Swing design, components vs. containers | 15 Oct 2004 21:51 GMT | 5 |
Can anyone explain me (or guess on) the motivation for why the Swing developers decided to let JComponent extend the AWT Container class and not the AWT Component class? I find it strange that Swing does not seperate containers from
|
| How to change JTabbedPane's size with Frame's size change | 15 Oct 2004 20:35 GMT | 3 |
I met a problem on the GUI. I put a jTabbedPane in a jInternalFrame. The jInternalFrame is contained at a main Frame. When the main Frame's size is enlarged, I use jInternalFrame.setMaximize(true) to enlarge the jInternalFrame. But the jTabbedPane's size is not enlarged with
|
| equalsByProperties | 15 Oct 2004 19:30 GMT | 1 |
Does anyone know of a good way of coding a method like this one? static boolean equalsByProperties( Component c1, Component c2) All the AWT/Swing controls seem not to override equals(). They thus revert to Object.equals(). As controls are supposed to be JavaBeans I
|
| Question Regarding Popup Menu | 15 Oct 2004 16:40 GMT | 1 |
Newbie question. Is there a way to have a popup context menu extended at the bottom with an attached window capable of holding text and images at the bottom? The popup would have the ability to provide item actions
|
| Strange behaviour of the JToggleButton & JButton | 15 Oct 2004 13:58 GMT | 1 |
I'm developing an application with Swing which contain a JToolbar which in turn has a number of JButton(s) and JToggleButton(s). My problem is that these components are being rendered differently on different Java versions, using the same compiled code.
|
| Changing JTableHeader column names | 15 Oct 2004 09:13 GMT | 1 |
I'd like to heard your opinion and help on this subject: I'm building a JTable filled by sql query, the constructor contains the following lines:
> qtm = new QueryTableModel(dbConn,query); |
| Ellipses and the properties button | 15 Oct 2004 07:56 GMT | 3 |
Greetings Group, I'd like opinions on the use of the ellipses with a properties button. From the readings I've found, it appears that ellipses are generally defined to be required when further information is needed before
|
| Java or C# | 14 Oct 2004 21:06 GMT | 3 |
I would like to learn new language. I have been programming in C and C++ (Visual C++) for 3 years. I don't know which language is better. I heard from another programmers that Java is slower than C++ but is more safe... What do you think about it ???
|
| JComboBox renderer | 14 Oct 2004 18:12 GMT | 5 |
I have a JComboBox displaying Color objects. I wrote a ComboBoxRenderer that extends JLabel. It sets the label to opaque and sets the background to the color and the text to the RGB value. When I drop down the combobox list, it
|
| Problem of JTable and the JComboBox cell editor. | 14 Oct 2004 15:44 GMT | 3 |
I made a JTable object named tabel And set one of its columns with JComboBox as CellEditor. When mouse clicked on the JComboBox cell, code "table.getSelectedRow()" returns -1, and not return the row number until I selected one of the JComboBox's items. What Wrong?
|
| Problems with displaying CSS in a JEditorPane | 14 Oct 2004 15:37 GMT | 1 |
Hi to all! I have the following problem: I want to import an external CSS-file but the defined color of the styles are not displayed (always black is taken).
|
| JTree: Catching the setUserObject() call in a DefaultMutableTreeNode | 14 Oct 2004 15:32 GMT | 6 |
I am trying to debug a JTree. Specifically a particular DefaultMutableTreeNode is having its userObject property set to null. What is the easiest way that I can catch the set occuring? In the case in question I want the root DefaultMutableTreeNode to
|
| How can I render a JList cell with JCheckBox? | 14 Oct 2004 14:32 GMT | 3 |
I do it like this: public class CheckBoxCellRenderer extends JCheckBox implements ListCellRenderer { public CheckBoxCellRenderer() {
|