| Thread | Last Post | Replies |
|
| paint(Graphics g) and paintComponent(Graphics G) | 07 Jan 2006 12:01 GMT | 3 |
I was just wondering what is the difference between these two methods paint(Graphics g) and paintComponent(Graphics G) ? -- Thanks all in advance, meaning now !
|
| single row and column containing data of many columns | 07 Jan 2006 10:49 GMT | 2 |
I am trying to create Quicken Like rows. But I am not sure how to do that. To describe my problem better I am trying to the following. In a normal JTable I would have row and column displayed in this manner.
|
| Custom Stroke | 06 Jan 2006 22:20 GMT | 3 |
I need to use Graphics2D to draw a figure with lines representing constraints. Imagine a curve, with some hatching along one side. (bad ascii art follows) ----------------------- line
|
| Eclipse and .pgm weirdness | 06 Jan 2006 11:13 GMT | 1 |
Im using Eclipse and when i try to load an .pgm file and draw it on to a panel it works, but once i try running it through a terminal it the .pgm file is not drawn ? What does this mean and how would i solve it ? Here is the code to load and draw an image
|
| JTable, CellEditors and terminateEditOnFocusLost | 06 Jan 2006 11:07 GMT | 1 |
I have a JTable with some custom editors. I set the "terminateEditOnFocusLost" property to have editors removed properly when the user "leaves" the table. The problem arises when the user is editing a cell of the table and then clicks on another cell to edit
|
| AffineTransform rotated text goes haywire when window focus lost | 06 Jan 2006 10:22 GMT | 1 |
I am using affinetransform to rotate some text to paint on my subclassed jpanel. this looks fine until another window gets focus and you move something over my window-- at that point the rotated text (and only the rotated text) loses it's position, and goes to some off
|
| "Unveiling" an image | 06 Jan 2006 10:20 GMT | 8 |
i want to make a game.There is an image and the user must answer some questions. Every time he answers correctly, a part of the image is unveiled. If he answers all the questions correctly, he will be able to see the whole image.How is it possible to uveil some parts of an image?
|
| jlabel in a jtable | 06 Jan 2006 08:22 GMT | 1 |
I have created a custom tablecellrenderer of type jlabel. Before that I left it to the default. However now that I have a custom tablecellrenderer, the cell no longer gets highlighted when the user selects the row!
|
| JOptionPane multiline rendering ? | 06 Jan 2006 06:54 GMT | 7 |
I am trying to add multilines to JOptionPane.showMessageDialog. But JOptionPane is not rendering the lines as I want. It is ignoring the new line character ("\n"). How can i add the multilines to JOptionPane. If that is not possible can i fix the width of JOptionPane so that it
|
| JTabbedPane Code | 06 Jan 2006 04:31 GMT | 1 |
Has anyone seen or have some example code of creating a menu when a user right clicks on a tab in a tabbed pane similair to what Mozilla Firefox does? any ideas on how best to do this? Cheers,
|
| JForm is a Swing component framework that supports databinding and validation. | 05 Jan 2006 20:33 GMT | 8 |
JForm is a Swing component framework that supports databinding and validation. JForm was first released in september 2003 as opensource project on dev.java.net.
|
| Text Area Colours | 05 Jan 2006 11:50 GMT | 3 |
Hi all, is there a simple way to give a single String to the append method of a JTextArea and have it come up in a different colour or even a different font. So far the only way i can make it stand out is to put it all in CAPS which doesnt look great. Its just a string every now and ...
|
| Internationalization help needed | 05 Jan 2006 10:37 GMT | 1 |
a swing application i'm developing need support for english and spanish. there are about 80 screens. i have created the resource bundles for both languages and wrote code for screen components to load strings based on the current locale.
|
| BufferedImage and pixels color flipping | 05 Jan 2006 02:04 GMT | 5 |
I was just wondering i want to be able to get a color rgb value of a pixel at x,y then create another Color object (or int) that is the opposite it, then paint a circle with the opposite color. Here is the code i have so far
|
| drag n drop JTree | 04 Jan 2006 23:02 GMT | 1 |
Just was wandering if anyone has ever seen or created code for a JTree where you can drag and drop nodes into other locations on the tree or where you can drag other objects (text, JLabels...) onto the tree... Cheers,
|