| Thread | Last Post | Replies |
|
| Temporary remove and restore focus in window | 17 Dec 2004 20:30 GMT | 4 |
I thought I would be able to use: Component focusOwner = window.getFocusOwner(); anotherComponent.requestFocusInWindow(); // do some work
|
| repaint() repaints whole JFrame | 16 Dec 2004 16:55 GMT | 3 |
I have a JPanel with custom painting on it. If tell the mouseMoved() method to repaint() the JPanel it repaints() the whole JFrame, including all sorts of other components beside the JPanel in it, inside the Panel.
|
| Buttons with Icons in JOptionPane | 16 Dec 2004 15:33 GMT | 1 |
is it possible to display the buttons in a JOptionPane with Icons? The text can easily be changed via UIDefaults.put("OptionPane.okButtonText", "My Text"). Is there a key like "OptionPane.okButtonIcon"?
|
| Problems with painting of JPanel | 16 Dec 2004 09:28 GMT | 4 |
I have a JPanel with a GridBagLayout. In one place a JPanel is shown, which has a lot of custom paintig on it. What I wanted to achieve was have a rectangle move with the mouse over the JPanel with the custom painting, without changing the painting and repaintig the whole JPanel
|
| Applet + Swing basic (very basic!) | 16 Dec 2004 05:34 GMT | 3 |
I'm a total newbie to Java (forced into it via a master's class, actually, but enjoying it!). I've scoured my Java books and the web for what I'm sure is very simple stuff but am coming up blank. Basic premise: build an applet that has a JTextArea in which to display some
|
| why no syntax error message? | 15 Dec 2004 21:05 GMT | 1 |
Hello, when i have return in a void method, why doesn't i get a syntax error here only becoz its the main method? public static void main(String[] args) { int max = 0;
|
| Wrapper for all Components | 15 Dec 2004 20:28 GMT | 10 |
I want to use the Decorator Pattern to draw small squares around a JComponent when it is selected. For that I've inherited a class from JComponent and have a member variable that is the actual component. I redirect all the JComponent methods to that member variable. However,
|
| Please help me it's urgent | 15 Dec 2004 15:02 GMT | 1 |
Hi I'm a student and I need to develope an application in java for Windows CE. Now I've installed on my pc Eclipse and a sun virtual machine for
|
| JScrollPane + JPanel + JTable | 15 Dec 2004 14:23 GMT | 1 |
Hi, I have this problem: I want to create a window that has / is a scrollPane and on this scrollpane you should see various tables that are inside of other scrollpanes and on top of each of those tables a little JPanel as
|
| Modifying a modal dialog from another dialog | 15 Dec 2004 10:23 GMT | 3 |
I have a modal dialog with a text area and a button on it. The button launches another dialog. This second dialog has buttons on it which attempt to change the text area on the original dialog, however, this dialog is 'frozen' and none of the buttons work. I know this is an
|
| Example Modal Dialog Problem | 15 Dec 2004 10:04 GMT | 1 |
// Trying to 1) create a modal dialog 2) launch a dialog from that modal // dialog 3) modify the original modal dialog based on an event on the new
|
| 3d question | 14 Dec 2004 20:54 GMT | 2 |
I was asked to draw 3d points in a coordinate system to describe a psychological experiment. The points change in time. Two options came to my mind on how to realize this. 1.) Java 3d API, which I'm not at all familiar
|
| JPanel inside a JScrollPane | 14 Dec 2004 19:03 GMT | 2 |
I'm having problems with the JScrollPane class. I have a JPanel subclass which I'd like to be able to scroll in my app. The JPanel subclass implements the Scrollable interface: ------------
|
| Why two instantiations? | 14 Dec 2004 18:56 GMT | 1 |
Gurus: Two questions: 1. Regarding the following code, why is updateUI called twice? ie, once implicitly by B's constructor at line 8 and once explicitly
|
| jbutton/jlabel disspearing text | 14 Dec 2004 17:32 GMT | 3 |
I have created a few JButtons/JLabels but the text on them seems to disappear depending on the platform the gui is run on (The disappearing text appears as "..."). How is it possible to set the size of the label/button according to the length of the text?
|