| Thread | Last Post | Replies |
|
| How to make a JTextField ignore single-char keymaps | 11 Jan 2005 16:45 GMT | 3 |
I work on an app that uses single-character app-wide keyboard accelerators to trigger Actions. Not ideal, but that's what the legacy version of the app does, so we are honoring that. We have a dockable panel that contains a JTextField, and when the user
|
| Strange TextPane | 11 Jan 2005 10:36 GMT | 5 |
One more ;) int position = MyTextPane.getCaretPosition(); Element elem = doc.getCharacterElement(position); ((HTMLDocument) MyJTextPane.getDocument()).insertAfterEnd(elem,
|
| JFrame and dynamically adding of icons with equal spacing | 11 Jan 2005 05:30 GMT | 1 |
Hi, i have this chat system that i made, and i wanna make it with rooms. So i want the lobby gui (A JFrame) to have some images resembling rooms that you can click on to enter a room. I would like them to be added incrementally, and have like a scrollpane
|
| Access swing component on other tab of JTabbedPane | 10 Jan 2005 10:44 GMT | 3 |
For my small application I want to use tabs. On one tab I display 'default values' in JTextFields. On another tab I have a button which should do some actions, based on the default values. I tried to write a method to collect the desired default value, but I can't seem to find the ...
|
| GridBagLayout question | 10 Jan 2005 05:42 GMT | 9 |
I have a window that looks something like this: +-------------------------------------------------+
| Transaction #3298 (id) | +-------------------------------------------------+
|
| New GridBagLayout implementation | 09 Jan 2005 20:37 GMT | 2 |
Does any know any new free implementation of the GridBagLayout. I think the current implementation of Sun is very bad. * One of the larges problems is the layout jump if the size is to small to use the PreferredSize. Then the Sun implementation is
|
| JTable to show several sets of data | 09 Jan 2005 18:11 GMT | 3 |
I posted this in c.l.j.p. earlier this week, but no response. So I try here instead, even tho the question is more about choice of data strukture than gui...
|
| Regarding BUfferedImage | 08 Jan 2005 19:59 GMT | 1 |
I have a small problem that i am unable to solve. I have quantized a jpg image and reduced the number of colors. It is currently as a BufferedImage object. Now i want to save this quantized image as a jpg file. I am using ImageIO api available in java, and i am successful
|
| Help with Threads (wait and notify) | 08 Jan 2005 19:26 GMT | 5 |
Hi to everyone, the simple java applet i provide below outputs 5 the following 5 lines: Welcome to Java 1 times Welcome to Java 2 times
|
| fast image compare? | 08 Jan 2005 15:06 GMT | 12 |
Whats the best way to compare 2 images to see if they are exactley the same? Specifically, a BufferedImage and a sun.awt.windows.WImage. My plan is to convert the WImage into a BufferedImage. Then verify that they are the same size. Then iterate thru each pixel rgb value. Is ...
|
| Multi-threaded application / Progress bar problem. | 07 Jan 2005 22:25 GMT | 4 |
I have a multi-threaded application. Within the application is a series of functions that are called through a socketed interface that handle some rather time consuming operations. There is a hand shaking protocol that allows the top level GUI to know when the low level ...
|
| Disabling an inherited JButton | 07 Jan 2005 20:57 GMT | 1 |
I have 2 child classes (ChildPanel1 & ChildPanel2) that extend ParentPanel. ParentPanel has a JButton component coupled with an accessor method toggleButton() to enable/disable the button. I currently enable/disable the button by calling toggleButton() twice, once
|
| JTree: Expand all node ? | 07 Jan 2005 17:25 GMT | 2 |
How to expand all nodes and disable collapse/expand button?
|
| No update of MenuItem's ToolTipText when Action-Classes changes? | 07 Jan 2005 16:38 GMT | 1 |
I set up Menu, Toolbar and PopupMenu via Action-classes. This works fine. The Short_Description of the actions is then my tooltiptext for the toolbar buttons and the menu items. After I make changes to the
|
| JTabbePane | 07 Jan 2005 16:34 GMT | 2 |
I have a JTabbedPane and have three JPanels forming the three tabs. I need to set the default button on one or other Panel depending which one is active / showing at the time. How do I do this ? I need to toggle the default buttons on the panels
|