| Thread | Last Post | Replies |
|
| java swing | 24 Oct 2006 09:38 GMT | 2 |
Hai! Everybody! I am working for a Swing project. My module is to create MyComputer Frame same as the windows MyComputer Explorer with the same functionality. I have to access the drives of my system and display
|
| No keyboard into in JTextArea in JApplet | 23 Oct 2006 05:51 GMT | 19 |
I have observed a consistent problem with applets not accepting keyboard input. This manifests itself when I put a JTextArea into a JInternalFrame in an applet. The applet will work perfectly with appletviewer, but when it is brought up in any of the Mozilla-based
|
| Boolean in JTable | 23 Oct 2006 00:54 GMT | 2 |
Thanks, I created a JTable which has a column which can be "true" or "false". I found sample code where I extend DefaultTableModel overriding getColumnClass() so that this column now has checkboxes. Mouse clicks over checkboxes work fine. How
|
| JTabbedPane | 22 Oct 2006 22:14 GMT | 1 |
do you know how can i get active/focused/top pane from my JTabbedPane object?
 Signature Pozdrawiam,
|
| problem adding/removing swing components after component hierarchy has become visible | 22 Oct 2006 12:36 GMT | 2 |
Please look at the little applet below. Comments tell you what I would like to see on the screen of the applet. Problem is that jl1 and jl2 is never shown. Why? How can I add/remove components to/from a visible component hierarchy if it's not
|
| how and when components get their own size? | 22 Oct 2006 11:16 GMT | 2 |
I've wrote an applet that renders some vector data. Applet's content pane has a JPanel child as the canvas. Before the first rendering and (paint()-ing) this JPanel needs to know its' own size to properly caclulate the size of object to be drawn. JApplet has a BorderLayout, so ...
|
| How to display buttons in a TableCellRenderer? | 20 Oct 2006 16:48 GMT | 1 |
I'm trying to develop a Java client for an on-line game. One screen of the client is supposed to show a list of available games, and allow the user to select one, then join it or watch it. I decided to do this using a JTable. The first few columns display data about the ...
|
| How to obtain the right 256 color pallette for the blend of two colors...? | 20 Oct 2006 16:21 GMT | 1 |
I have the following problem: I need to generate dynamically an image with IndexColorModel (256 color PNG) of a text over a solid color. The parameters are color foreground for the text and background. The problem is how to select the most appropriate 256 color pallette for the ...
|
| Applet in own frame presented minimized | 20 Oct 2006 15:21 GMT | 1 |
An applet which opens its own frame is only displayed in minimized form. The users have to on the task bar to get their hands on it. This wasn't the case with java 1.4 only with new java 1.5 plugin.
|
| Swing | 20 Oct 2006 11:06 GMT | 4 |
Hai! I am Vijaya. Can anybody please tell me the name of the component in swing which has to work same as the My computer Explorer addressbar?
|
| Thinlet and AWT File Dialog | 18 Oct 2006 22:46 GMT | 4 |
I have a question concerning the use of the AWT File Dialog. I'm using Thinlet to describe my GUI, but I need to use the standard File Dialog. My code looks something like this: public class FileDialogTestMain extends Thinlet {
|
| setCellEditor on a single table cell? | 18 Oct 2006 19:33 GMT | 6 |
I have a JTable implementation where the three columns represent a begin point, an end point, and a value. I used TableColumn.setCellEditor() to set the editor (a JComboBox) for the begin & end columns, which all works
|
| PaintComponent Method | 18 Oct 2006 15:43 GMT | 1 |
can any one tell me when paintComponent(Graphics gc){} method will be called??? it's needed that i have to extends JPanel. in my prog m extending theJApplet class.
|
| (not) painting on JPanel problem with coordinates | 17 Oct 2006 20:29 GMT | 4 |
I'm trying to write a class that extends JPanel. I think I don't understand the coordinates system :(. I'm dumb . I want to have a mesh sign on it, an when a user make a mouse click in a tail of mesh I want to color it so that it looks similar to a chess board.
|
| inserting text into the DOM | 17 Oct 2006 17:36 GMT | 6 |
I process an xml document and then insert its content into the tree in my GUI. It's easy, if the elements are simple text, like "text", but some of the elements are paths, like "C:\Example\path" which I can't possibly insert. I get the following error:
|