| Thread | Last Post | Replies |
|
| Creating user preferences from Applet | 06 Jul 2006 06:09 GMT | 7 |
I am using the Preferences API in Java to save the users preferences of my application. While it works fine when it is standalone application, I get AccessControlException (java.lang.RuntimePermission preferences) when
|
| How to detect double-click mouse events in Swing? | 05 Jul 2006 18:59 GMT | 3 |
I think my understanding of mouse clicked events is wrong because I don't get the behaviour I expect. When I implement the following code: table.getTableHeader().addMouseListener(new MouseAdapter() {
|
| Listeners Blocking Each Other And Needing Events To Trickle Down | 05 Jul 2006 05:32 GMT | 1 |
I am having two problems with processing events. I know this is a little long but please bear with me. I have a feeling that the solution to one might have something to do with the other. Hopefully someone can help out:
|
| JComboBox with colors | 04 Jul 2006 12:15 GMT | 4 |
I want user to be able to pick colors in JComboBox and I'm stuck. I wrote my renderer (CellColorRenderer) and it works, but when I pick some color from the list it dosen't show up in JComboBox selected area, I guess there's another renderer for that. I've tried to go around that
|
| Updating a GUI component from another class | 03 Jul 2006 17:39 GMT | 2 |
I would like to ask if it is possible to update a GUI component (e.g. JTextArea) from an outside class ? For example, calling from class One a method of GUI class Two that updates the component from the Event dispatch thread. Is that a right
|
| Focus validation problem with JTextfield | 03 Jul 2006 16:54 GMT | 1 |
I am trying to build a JTextfield that can only be unfocused if value is valid. And if value is not valid a message should be displayed. In my demo the value is never valid but it doesn't matter. I tried it like this:
|
| different jpopup menus items depending on content in a Jtable cell | 03 Jul 2006 14:22 GMT | 1 |
Is it possible if a popup menu have different items in it, depending on the content of a jtable cell?? I would be greatful if any one could point me in the right direction. Thanks
|
| Same menuitem in Menu and PopUpMenu | 03 Jul 2006 11:55 GMT | 2 |
I've building a little GUI. I've tried to add the same menuitems both to the menu and to the popup menu, but seems like this can't be done, because items added to popup menu disappear from the menu.
|
| How do I programmatically add markups to JEditorPane | 02 Jul 2006 21:48 GMT | 1 |
I am working on a program for editting HTML. I am using a JEditorPane with an HTML editor kit. I am trying to add markups programmatically, so that the user can click a button and the font will change to italicized (for example). What is the proper way to make that happen?
|
| Swing i UML | 01 Jul 2006 14:56 GMT | 1 |
Witajcie, Jak w diagramach UML opisac sytuacje w ktorej do Listenera podpinam objekt, ktory umplementuje pewien okreslnony interfejs. Mam ekran podzielony na dwie czesci. W jednej mam drzewo (JTree),
|