| Thread | Last Post | Replies |
|
| Java2D Image problem | 10 Jul 2004 06:13 GMT | 3 |
I have a problem regarding image & graphics rendering in Java2D. Basically, I have an array of image values and I have created an Image object from the array by using MemoryImageSource. May I know is there a way to say draw a line or polygons on this newly created image? I
|
| JOptionPane dialogs with "Disable" checkbox? | 09 Jul 2004 21:31 GMT | 2 |
I am using JOptionPane dialogs for various messages and questions in my application. It's fairly common for dialogs to have a checkbox saying, for instance, "Do not show this message again". Is there a simple way to add such a checkbox to a JOptionPane? I'd rather not have to ...
|
| Should an itemSelectable Fire an itemEvent during setSelected? | 09 Jul 2004 20:48 GMT | 3 |
I'm having a problem with a JCheckBoxMenuItem: I need to manipulate its selected state programmatically, but calling setSelected on it appears to be triggering its itemListener, resulting in undesired behavior. Previous discussion on this ng seems to indicate this is
|
| spinnermodel.getDate(); | 09 Jul 2004 20:38 GMT | 3 |
I'm using a date editor based on the SpinnerDateModel for entering dates in a JTable. I need special action when the spinner is blanked. How can I see that there is no value at all? public MyDateEditor()
|
| CheckBox in a Jtable | 09 Jul 2004 20:34 GMT | 6 |
i want to have a checkbox in a cell in my JTable.I am populating the Jtable with the records from the database.Can any of u pls.help me with some example?
|
| Debug help for stack dump unknown source | 09 Jul 2004 20:11 GMT | 2 |
Does anyone know of a method by which I can troubleshoot a bug that generates this error message? I suspect that it is something to do with our output window because it happens when I hit the run button and we start to output data to it. It is an HTMLEditorKit. Blah blah blah....... ...
|
| Scrolling popup window | 09 Jul 2004 17:37 GMT | 1 |
I am trying to create a component that will scroll into existence out of our status bar. I tried a million things (PopupFactory and a whole bunch of other things) and finally settled on creating a subclass of JWindow.
|
| JavaHelp: ready for real-world deployment? | 09 Jul 2004 17:17 GMT | 3 |
Anyone here using JavaHelp to provide on-line help for java apps (or applets) in commercial software? I looked at JavaHelp a few years ago and found it to be slow and with some display quirks. Since then I stuck with PDFs if I needed
|
| Find out which InputMap is taking a KeyStroke binding? | 09 Jul 2004 16:14 GMT | 1 |
I have a component which has registered bindings in its input map tomatch all the cursor keys (KeyStroke.getKeyStroke(KeyEvent.VK_UP/DOWN/LEFT/RIGHT, 0). The up and down bindings work fine, but the left and right aren't
|
| How to create a very tiny window with no "title" ? | 09 Jul 2004 16:02 GMT | 4 |
Brest, le mardi 06 juillet Hi, I write a program with a main window being a very tiny application in the corner of the screen just spooling a directory with blinking leds. For the moment the main class extends JFrame, but I don't like the
|
| how to set the ESC key as my default cancel button? | 09 Jul 2004 13:28 GMT | 2 |
Hi, In my JFrame or JDialog, how to set ESC as default cancel button so that no matter cursor is in textbox or somewhere, if the JFrame/JDialog is focus, user press esc will trigger cancel button's event I only able to set the ENTER as default for ok button (which is something
|
| [Swing-JButton] Images are not displayed from g.drawImage( ) | 09 Jul 2004 12:01 GMT | 7 |
I expect from the following program to show a JButton and an another button of (my) class JImageButton where the states 'normal' and 'pressed' are taken from two PNGs (download from http://www.geocities.com/theodosisx/2buttons.zip)
|
| Row Column Manager | 09 Jul 2004 09:01 GMT | 8 |
Is there a way to implement a row column manager for multiple buttons in a dialog which is similiar to the Motif XmRowColumn? I am currently using a JPanel with a GridLayout but if I only add one button, it expands to fill the entire space, instead I would expect the button to
|
| JComboBox with wider drop-down (popup) | 09 Jul 2004 08:42 GMT | 2 |
I'm using a JComboBox with my own ListCellRenderer. The goal is to have the drop-down display a long description of the options while the non-active JComboBox will only show the first character of the option after it has been selected.
|
| mouselisteners of child and parent component both get events? | 08 Jul 2004 21:54 GMT | 1 |
If I add a component ("child") to a component ("parent") like a JPanel or something, can I make the MouseListeners of both the child and parent receive mouseevents that happen in the child? I am new to gui programming, and it appears to me that only the child can receive the
|