| Thread | Last Post | Replies |
|
| Key combination for JMenus | 21 Sep 2004 10:30 GMT | 3 |
I am writing a GUI, in which I am trying to use keyboard combination. I use following code for a key combination of SHIFT+D. This code is working fine for a combination of two keys. JMenuItem editDivMenuItem = new javax.swing.JMenuItem("A EDIT MenuItem",
|
| Moving columns in JTable | 21 Sep 2004 08:27 GMT | 1 |
How do you prevent someone from moving columns (the order of columns) in a Jtable by dragging them. I remember there is a means ot prevent users from doing this, but I cannot find it. Thanks, Ike
|
| Detecting Space-down on a mouse click | 20 Sep 2004 21:02 GMT | 6 |
The modifiers of the mouse-clicked event object tell me weather alt or shift or ctrl key is down. What's the best way to detect whether some other key (such as "Space" or "a") is down? The idea is to simulate the photoshop feature that when alt and space are both pressed the active ...
|
| chat client gui | 20 Sep 2004 20:59 GMT | 2 |
i wrote a chat client and just finished an alpha-version which seems to work fine. i would appreciate it very much, if you could have a look at it, and tell me what you think about the gui.
|
| OutofMemory problem with images | 20 Sep 2004 19:20 GMT | 1 |
I am creating a preview with certain number of images. The images are stored in a LinkedList in the portrait and landscape format. There are like 20 images in both formats when created using the following method. I am getting a java.lang.OutofMemory error. I suspect this is because
|
| Good books for newbies | 20 Sep 2004 16:37 GMT | 4 |
I want to start working with Swing and I'd really like a good book to get me started. I'm thoroughly versed in Java, and have worked with MFC using C++ before, as well as the more rudimentary C-style Windows GUIs. I'd like to learn enough of Swing so that I can create multiple ...
|
| FocusLost before ListSelection Event | 20 Sep 2004 14:25 GMT | 3 |
Do you have and idea why the focus lost event is sent *bevore* a list selection event? Look at the following program: public class Test extends JFrame { public static void main(String[] args) {
|
| JList display trouble | 20 Sep 2004 07:54 GMT | 1 |
I have a frame divided in two by a JSplitPane - one half contains a JList inside a JScrollPane. My question is this -- when i display the frame if the content of the jlist does not occupy the entire height of the frame the remainder is filled by a rather unconvincing (grey) ...
|
| dynamically create menuitems | 20 Sep 2004 07:35 GMT | 7 |
I need to develope an awt-based app, which requires a list menuitems are created based on current application model when the Menu to which the list of menuitems are attached is clicked. An actionListener registered to Menu won't be triggered because action event is not fired by Menu ...
|
| Overriding paint() | 20 Sep 2004 07:24 GMT | 4 |
I was wondering if/how you can override the graphics methods (just paint(), in this case) of a canvas. Normally I'm extending the canvas, so I can just override the methods in the class: public class SomeThing extends Canvas{
|
| FontMetrics.getAscent() -- Strange values. | 19 Sep 2004 20:02 GMT | 2 |
I'd like to draw a string in the top left corner without any space between the border and the string. I'm using FontMetrics to get the Fonts size attributes. However, it seems that getAscent() returns a value which is 'corret ascent' + leading. The string does not appear on
|
| Color picker component | 19 Sep 2004 05:42 GMT | 1 |
Is there any color picker component out there ? I'd like to make something similar to the color picker buttons in the paintshop pro or photoshop toolbars, where you can see the current background and foreground colors to be used. I need something like this:
|
| Help on javax.swing.text.html package | 19 Sep 2004 04:46 GMT | 7 |
Does anyone know comprehensive tutorial and/or what, why and how documentation on the design structure of the javax.swing.text.html package and its sub-package classes? I sorely miss it!
|
| JEditorPane Problem | 18 Sep 2004 05:11 GMT | 2 |
would you like to tell me how to highlight the entire row in jeditorpane? no only the text, i want to highlight from the leftmost to the rightmost of the jeditorpane. thanks
|
| Repeat JLabel animated GIF only twice? | 18 Sep 2004 00:30 GMT | 4 |
I've created an animated GIF that only repeats twice. It works fine if I look at it in IE, but when I put it into a JLabel, it repeats infinitely. Is there any way to make an animated gif not loop continuously?
|