| Thread | Last Post | Replies |
|
| GridBagLayout not behaving as specified | 19 Apr 2007 15:12 GMT | 12 |
I have a problem with GridBagLayout that I would appreciate some help with in solving. In the following simple example I am trying to have a user label and text field plus a password label and field evenly spaced across the panel with a
|
| How to detect focus lost on a JPanel | 18 Apr 2007 21:47 GMT | 3 |
I am new to Java. As a basic learning project, I started writing a no- frill small general ledger application. The basic design is a Frame containing a menu and a JTabbedPanel. When a menu option is selected, a component derived from JPanel containing
|
| javax.swing.JPopupMenu cannot be cast to javax.swing.JMenuItem | 18 Apr 2007 17:04 GMT | 3 |
To get the text of runtime built menu items, I used the following code: ------------------------------------------------------------------------------------------------------- //Create a change listener and register with the menu selection
|
| Undecorated JFrame versus JWindow | 18 Apr 2007 10:10 GMT | 2 |
I've only just discovered undecorated JFrames. Thy solve some of the problems I'd had with JWindows before, such as not being suitable parents for JDialogs. In fact, I don't have any reason to use JWindow at all any more. For
|
| Referring to AWT toolkit before components created | 17 Apr 2007 14:40 GMT | 2 |
Is it possible to get a reference to the current AWT toolkit before any GUI components/objects have been created?
 Signature And loving it,
|
| menus | 17 Apr 2007 10:30 GMT | 1 |
I wanna program something like a menu. My question is : How does a menu know when it has to be closed ? FucusListener.focusLost() doesnt work.
|
| how do i put an image as a background on a JFrame? | 16 Apr 2007 17:13 GMT | 13 |
I've googled it and searched everywhere but nothing! Any help appreciated!
|
| How do I set table header height... without side effects? | 14 Apr 2007 01:04 GMT | 2 |
These comments relate to Java 6 Update 1 and Update 2 but may apply to earlier versions (including Java 5) as well. I am trying to set the height of a table's header by using the following (very simple) code:
|
| Populating JTable with MySQL Data after clicking JButton | 13 Apr 2007 17:45 GMT | 1 |
Im very new to Java. Im developing a project in NetBeans 5.5. The Database im using is MySQL. I need to add and retrieve data from MySQL Tables and im relatively
|
| about opening pgm format images in a window | 13 Apr 2007 07:25 GMT | 2 |
i am implementing an IEEE paper on imageprocessing using java and i need to load 'pgm' files in the window . i use 'imageIcon' method to open images but it doesn't support 'pgm' images it opens only jpeg ,gif,png ,etc.. format
|
| Multilayer event catching | 12 Apr 2007 19:24 GMT | 2 |
I have a JLayeredPane with multiple layers in it. Each layer is a JPanel extended class and some of them register different MouseEvent listeners. Event catching stops at the first layer with a registered listener, but i want it to go "through" to other layers. Any
|
| Subclassing a text area.. | 12 Apr 2007 18:12 GMT | 2 |
I would like to create a component that is based on the TextArea, but I'm not really sure where to start. Basically this component would behave the same as a text area, but would highlight certain portions of the entered text as it is entered e.g. incorrectly spelled words.
|
| help me regarding jtable in cell of parent jtable | 12 Apr 2007 12:12 GMT | 1 |
import java.awt.BorderLayout; import java.awt.Component; import javax.swing.JFrame; import javax.swing.JScrollPane;
|
| Taskbar hides when Swing GUI gets maximized | 11 Apr 2007 18:11 GMT | 2 |
When I maximize a JFrame that was created in the application, it hides the Windows taskbar. I am using default Swing Look and Feel decorated windows. Anybody knows how the problem can be fixed? Thanks.
|
| Drawing icons on a scrollPane | 11 Apr 2007 03:12 GMT | 1 |
Ok, I have a friend who is doing a simple Java Swing project. I don't know from Java, but I am an experienced programmer in other languages, so I am trying to help him.
|