| Thread | Last Post | Replies |
|
| how to show minimized window ? | 09 Apr 2004 17:12 GMT | 2 |
I have minimized my Frame1 class. How can i show it again ? i tried: setVisible(true); setFocus();
|
| How to bing to front Frame? | 09 Apr 2004 15:38 GMT | 1 |
I have few frames, how can i show and bring to front selected frame ? Thanx MIchal
|
| addNotify hook | 09 Apr 2004 09:19 GMT | 1 |
addNotify is a nice hook where you can place initialisation code that needs the peer. However, it has a problem. None of the contained component addNotifys have been executed when it runs. You want a hook that lets you insert initialisation code after all the sub addNotifys
|
| Easy layout question | 08 Apr 2004 21:16 GMT | 2 |
How do I have the main Container in my Frame, so that it contains two "rows" of panels - the only difference between the two being that the top on is about 10% of the height (or, say, 50 pixels)? I currently have a GridLayout(2,1), but it displays both "rows" them with
|
| Improve GUI advice? | 08 Apr 2004 21:14 GMT | 2 |
I have made a program which let users manage fields in a addressbook. It all works good, but i'm not satisfied with the gui. I've made 2 screenshots and uploaded them: URL: http://picserver.org/view_image.php/Y4W444T7EK8H
|
| JColorChooser | 08 Apr 2004 21:14 GMT | 2 |
If I want to initiate a JColorChooser on a number of occasions and remember the recently selected colors, what is the best way to do this? Do you have to use the same instance of the JColorChooser object or can you add recent color information to a new JColorChooser if you have ...
|
| application window always in front | 08 Apr 2004 18:43 GMT | 5 |
I have a Swing-Application consisting of a JFrame and I want it * always to be in front (so that it's not in the background of any other application's window). * It should never be minimized.
|
| example program from SUN tutorial has error on compiling | 08 Apr 2004 15:47 GMT | 2 |
Hi all gurus, on compiling the program "Transform.java" from the SUN Tutorial (2D Graphics -> Displaying Graphics with Graphics2D -> Transforming Shapes, Text and Images) the following error
|
| Text height and width | 08 Apr 2004 13:42 GMT | 2 |
I am overriding paintComponent method and do my own painting. Currently I am stuck on centering specified text within JPanel. I was trying to add it as a JLabel, but then paintComponent acts strange. So I want to do it myself with Graphics2D.drawString.
|
| Size questions | 08 Apr 2004 12:35 GMT | 1 |
How do I make set the exact size (width, height in pixels) of a JPanel and a JButton? Also, how do I stop a JFrame from being resizable?
|
| What's the swing equivalent for Canvas? | 08 Apr 2004 10:17 GMT | 14 |
in Java 1, Canvas in awt is convenient for customer painting. But there is no JCanvas in Swing. What is usually used to perform customer painting in swing? Thanks in advance
|
| JTextField & Focus | 08 Apr 2004 10:03 GMT | 1 |
Hi NG, i know that there many posts in here covering that topic, but i read most of them and none helped me. I have a JFrame with a JTextPane (not editable) and a JTextField
|
| Jpanel with Graphics on it: setSize() ? | 08 Apr 2004 10:02 GMT | 3 |
In a JScrollPane I put JPanel with 2D Graphics on it. JScrollPane scrolls but only on jPanel.setPreferredSize() but what when Graphics size grows up (after I draw some longer rectangles, for example)?
|
| All the available resource bundles for my properties file | 07 Apr 2004 21:52 GMT | 4 |
ResourceBundle.getBundle() loads a particular resource bundle for a given locale which can be passed as a parameter to it. What i want is a list of the locales for which that resource bundle is available
|
| Newbie needs help with AWT components | 07 Apr 2004 19:32 GMT | 5 |
Hello. I am fairly new to developing Java GUI, and I can't seem to figure out how to solve a problem I'm having. I am using the AWT no Swing. Basically, I have an java.applet.Applet, and the typical situation is that on that applet I have a ScrollPane, a Panel added to that ...
|