| Thread | Last Post | Replies |
|
| problems migrating to AWT-EventQueue-0 | 01 Jul 2005 00:52 GMT | 5 |
I'm trying to change my app to create the interface using only the AWT-EventQueue-0 thread. My problem is that the thread cannot find the class needed to initialize and I'm not sure how this would be done. I really need to invoke all this w/ the AWT-EventQueue-0 thread as the
|
| Place JComponent in center of JDialog | 01 Jul 2005 00:47 GMT | 7 |
I have a JComponent that displays an image. I set the getPreferredSize() method to the dimensions of the image, so when I add it to the content pane of a JDialog, it fits exactly. When I resize the JDialog, I want the image to be displayed in the exact center of the content pane. ...
|
| Receive cursor position in a JTextField | 30 Jun 2005 20:57 GMT | 1 |
I have a JTextField, and I have text in it. For example the string “example text”. The user can position the curser in the JTextField for example between p and l.
|
| Need help with a viewToModel() problem in a JTable | 30 Jun 2005 15:56 GMT | 3 |
I have a JTable with a column that is rendered using a JTextPane-based cell-renderer. On a single click on that column in the JTable, I would like to determine the text offset of the click in the row under the user click.
|
| JButton inputStream to System.in | 30 Jun 2005 15:41 GMT | 3 |
I have an applet that I would like to gather the keyboard input once someone clicks on the JButton. At first I thought that I could just read System.in, but that provided no solution. I have since found that to get the input once the JButton has focus it needs to have a
|
| accessing a JFrame child... | 30 Jun 2005 11:32 GMT | 4 |
Hi friends, I can't modify an instance variable of JPanel_zoom, a subclass of JPanel I've created from the parent JFrame. Here is the "interesting" code:
|
| pdf in java Viewing... Not a good experience | 30 Jun 2005 11:14 GMT | 4 |
I want to display pdf files from within java 1) I can use getruntime().exec BUT I need to know the external pdf viewers name 2) I can use the java viewer from Adobe 1998
|
| Problem using JEditor in swing | 30 Jun 2005 10:24 GMT | 2 |
I am using JEditor to show html pages i.e. JEditor.setPage(url) method to show url . If the html page contains javascript code in it. Is there any solution to make JEditor script enabled?
|
| How to grey-out jButton with HTML in label | 30 Jun 2005 09:08 GMT | 1 |
I have a jButton with HTML embedded in the label text, and when the jButton is disabled, the label is not greyed-out in the usual way. How do I get around this? Below is a code snippet illustrating the behaviour:
|
| How to make default font w/ metal Laf using Synth | 29 Jun 2005 21:38 GMT | 2 |
Hey all, I want the same interface appearance I have now but I just want to make all the font a bit different and smaller so I installed Synth and have the following XML defined ...
|
| FileDialog.setFilenameFilter() | 29 Jun 2005 15:26 GMT | 5 |
I let my class implement the FilenameFilter interface and override the boolean accept(File,String)-method. Even if I let this function return false in every case, still all files in the directory are displayed. Here is some code: //open method
|
| JTree, mouse event and complex cells | 29 Jun 2005 12:50 GMT | 1 |
My tree cell renderer creates complex cell which contains 3 JLabels. How do I add mouse listener to one of these labels? By default mouse event is registered only by the tree, how do I pass this event to appropriate label?
|
| Beginner UI having trouble adding JButton while using 'extends' | 28 Jun 2005 20:33 GMT | 2 |
I'm new to graphics programming and having some trouble adding a button on-the-fly. I have created an example of my current code below. THere is a class "TestExtends" that I would like to create and add a button to it's parent 'WebRezProAppletForm'.
|
| JTable Drag and Drop Rows | 28 Jun 2005 20:04 GMT | 1 |
Ok, there are plenty of discussion on drag and drop on the news net, but not many that give an example of how to implement re-ordering of JTable rows using drag & drop. Could someone point me to a quick overview of
|
| automatically maximize JTable? | 28 Jun 2005 10:16 GMT | 7 |
I have a JTable inside a JScrollPanel in the CENTER of a Panel with a BorderLayout (at the EAST there are some buttons, and the panel is inside some other panel/box). How can I do to get this scollpanel/table combo to fit all the
|