| Thread | Last Post | Replies |
|
| Null pointer exception at 783 rows in JTable | 29 Mar 2004 18:47 GMT | 4 |
Hi, we have a DB application with a java front end. We are using JDK 1.4.2_01. We load query results to a an TableModel and place this into a JTable.
|
| JTree with checkboxes in it : Newbie | 29 Mar 2004 14:34 GMT | 3 |
I'm making an application in which we need to use two kind of trees. One of them is a 'normal' implementation of the JTree-object and I got it working just fine. The second one is a tree where at each node there has to be a checkbox so
|
| How do I limit input in a JTable cell to integers only? | 29 Mar 2004 13:38 GMT | 2 |
I have a 4 column JTable, and in the last 3 columns I want the input to be limited to the keys "0" to "9" only. I want it to not react on any other keys at all while
|
| Iconized image size | 29 Mar 2004 11:12 GMT | 1 |
How can I determine the size (maximum size and minimum size) of the icon displayed when a Frame is iconized? Most Unix window managers use 50x50 pixels, while PC's typically use 16x16.
|
| Invisible but fully operational panel | 28 Mar 2004 23:15 GMT | 2 |
Me again... I've had very little success trying to customize JPanel so that it does not erase its background. What I'm looking forward is that I have one large panel which contains many child panels, and only the bottom panel is painted
|
| problems refreshing GUI | 28 Mar 2004 18:44 GMT | 1 |
What I have is a Container with on it a JScrollPane to hold a JTable with data provided by a database. The problem is that when I get the result of a query and want my new 'JTable' to replace the old one, the old one is still behind the new one.
|
| Flowlayout, JPanel and JScrollPane: Scrolling vertically impossible? | 27 Mar 2004 19:57 GMT | 3 |
Horizontal scrolling works just fine with a JPanel embedded in a JScrollPane using FlowLayout. When I change setPreferredSize to enable wrapping, and when components inside the panel go out of view, the vertical scrollbar is never invoked!! So, what are the proper components to get ...
|
| Changing Font of DefaultMutableTreeNode | 27 Mar 2004 11:14 GMT | 2 |
I have a treenode and want to change the color and font of a treenode. I have already implemented a TreeCellRenderer, but whenever I use that to change the color of the font, the font of the whole tree changes. All I want is to change a single TreeNode. What am I doing wrong?
|
| Problems when using swing under linux | 27 Mar 2004 11:02 GMT | 1 |
My system is RedHat Linux 9.0,and it is install under vmware. I have installed vmware tools and X. When I run a simple swing program,the messages are as follow: [lex@lex HelloSwing]$ java HelloSwing
|
| Special characters in JTextField | 27 Mar 2004 08:08 GMT | 1 |
my problem is that in JDK 1.3 it was possible to enter special characters, e.g. a diameter symbol, into a JTextField by pressing "ALT+0216". In JDK 1.4.1 this does not work anymore. Searching the web i found out that others encountered this problem too. But i couldn't
|
| rotated, translated coordinate system vs. mouseEvent location | 26 Mar 2004 18:49 GMT | 6 |
I have a JPanel onto which I draw (using drawString()) a number of strings. Each of which has a translation and rotation about a point. e.g.: g2.translate(offset.x, offset.y);
|
| Q: JList and extended characters ?? | 26 Mar 2004 18:06 GMT | 3 |
Hi all !! I can't display special (extended) characters in my JList, does anyone knows how to do it ?? thnx
|
| call javahelp from jdialog | 26 Mar 2004 15:05 GMT | 2 |
I've added a help button to all my dialog boxes. Whenever I press on this help button, the java on line-help window will be opened, however I can't navigate in it before I close the dialog box. I'd like to have that working in parallel, so that the user can use the application ...
|
| JSplitPane moving alone | 26 Mar 2004 14:19 GMT | 3 |
I've got a JSplitPane which separate a JTree object and a JPanel. Switch the row selected on the tree I add some components on my panel. Nevertheless I'd like the split's divider moving as the Tree is resizing (on collapse/expand) until the minimumSize of the panel.
|
| How to JFrame.getWidth() when maximised. | 26 Mar 2004 12:44 GMT | 1 |
When a window is maximised/minimised a windowStateChanged Event is fired. If I call JFrame.getWidth() inside the event hadler I get unreliable results.
|