| Thread | Last Post | Replies |
|
| Get mouse position in parent JFrame? | 22 Feb 2006 14:01 GMT | 3 |
A question: 1) there is a JFrame shown on screen. 2) when we click one of its buttons (something like that), a (derived customized) JDialog popup.
|
| JTextComponent question | 22 Feb 2006 13:41 GMT | 3 |
I have a Paste method that will take in a JTextComponent. I am passing either JTextField's or JTextArea's. I need to do something differently based on a JTextArea. I have no problem determining if I have a JTextField or a JTextArea. The
|
| Customizing a Cell in a JTable | 22 Feb 2006 12:15 GMT | 3 |
Hey all I'm trying to get a JPanel with a JTextField and JButton to display in a cell in a JTable Unfortunately I can't find a suitable example on the net
|
| Calling A Browser From A Swing Menu | 22 Feb 2006 10:39 GMT | 4 |
Is it possible to call a browser when a user clicks on a menu item of a pull down menu, sort of like what happens when a user clicks on a link in a brower's bookmarks pull down. Thanks in advance,
|
| images displaying as strings? | 22 Feb 2006 08:52 GMT | 2 |
Hi Guys, Could someone tell me why when i display images in a JList they are showing up as strings like the following: anImage@9931f5 anImage@19ee1ac
|
| Thread with different image | 22 Feb 2006 03:42 GMT | 2 |
I would like to make a pong game using 3 images, one for the ball, 2 for the paddle. Each paddle moving depend on the keyboard. I would like to know if is better to make one thread for the paddle and make instanciation for each paddle. And an other thread for the ball. and
|
| How to set the Z order of a JInternalFrame? | 21 Feb 2006 21:58 GMT | 3 |
I have a JInternalFrame that is contained within a JPanel that is being updated often. The updates cause a lot of flicker since I have to repaint the internal frame each time I paint the containing panel in order to keep it visible even though its contents are not changing.
|
| RiverLayout: simple, but powerfull layout manager | 21 Feb 2006 20:24 GMT | 4 |
Yesterday, I have discovered a new layout called RiverLayout (license LGPL). Simple and small yet powerfull. If I found it earlier, I would have saved myself almost 12 hours trying to do the two a bit more complex screens with GridbagLayout and (when I failed) with the
|
| Reliably determining if mouse is over checkbox icon on JCheckBox | 21 Feb 2006 18:16 GMT | 3 |
I need a reliable way to determine, when the mouse has been clicked on a JCheckBox component, if the mouse is over the checkbox icon or over some other part of the client area of the component (such as the text). Additionally, I don't want my code to make an assumption about the
|
| Plz help me | 21 Feb 2006 15:16 GMT | 2 |
Why my application gets stuck up when i call JOptionPane's showMessageDialog(....._) method? I'm a student working on a academic project. in that I'm creating some validating classes but i gotta screwing problems so decided to check in the code only. but it again
|
| Silly Swing question | 21 Feb 2006 09:51 GMT | 4 |
I'm a total Java newbie, and even more with Swing API, so I beg your pardon if what I'm asking is so silly. I've a program with a Main class which opens a login window (LoginWindow class with Swing components). When you push the "Enter" button it
|
| Inidicator Arrow convention for Sort Order | 20 Feb 2006 16:22 GMT | 7 |
Which way should an arrow point to indicate an ascending sort or an ascending list follows? For an ascending sort the bigger numbers are at the bottom. So no matter which way you do it, you can misinterpret.
|
| horizontal JList | 20 Feb 2006 04:37 GMT | 1 |
Hi i am displaying 10 images contained in a vector to a JList. However the JList shows the images vertically. is there any way i can have the JList scrolling horizontally?
|
| JComboBox - which events? | 19 Feb 2006 22:11 GMT | 2 |
I have extended JComboBox to override the processKeyEvent method so that in the windows look and feel, once you've tabbed onto the box, a click on the down arrow opens the popup and further use of the arrow keys traverse the items in the popup. Clicking enter (or clicking with ...
|
| JFileChooser - change lookin behaviour. | 19 Feb 2006 00:32 GMT | 2 |
I would like to restrict selection of files to a certain branch of a particular drive. Ideally, you would just set a path (e.g. "C:\test") and the file chooser would only show files and directories at and below this level.
|