| Thread | Last Post | Replies |
|
| setTopComponent() blinks badly or crashes | 12 Dec 2005 23:29 GMT | 1 |
Hey all, I'm hunting down a problem that I've had for days now. I have two JSplitPanes, splitA has a left and right side, and splitB is contained in the right pane of splitA. splitB has a top and bottom
|
| 2D drawing from methods not called by paintComponent()-- why it wont work | 12 Dec 2005 13:31 GMT | 7 |
I have a subclass of JPanel that overrides paintComponent. I can draw fine within paintComponent or from methods called directly from paintComponent (I pass the graphics object as a parameter.) But, if I try and store the graphics object as an instance variable in
|
| programatically selecting muliple intervals of rows | 12 Dec 2005 12:13 GMT | 4 |
The method setRowSelectionInterval(int from,int to) selects a contigious sequence of rows. But if i use it for the second time to another set of contigious rows, it clears the previous set of rows. Is there any work around for this?
|
| RE: insertString(int,String,AttributeSet) method in the Document Class ? | 12 Dec 2005 11:59 GMT | 1 |
I wrote the code to realize lighting specific code in the Document Object. ( this function is similar with the syntax light in the IDE) I use insertString(int,String,AttributeSet) method in the Document Class to add the light to the specific text.
|
| basic jTextPane help | 12 Dec 2005 04:53 GMT | 3 |
I'm trying to output text to a textpane. textPane.setText(string) only works for the first line so if i was to call it again it overwrites what i just wrote. How can I keep outputting text to a textpane and just add it to the
|
| Help to position JLabel with text top-right | 09 Dec 2005 22:53 GMT | 3 |
In my constructor I am generating a gui. My problem is with the text (on JLabel) to the left of the JTextArea. I need the text on my JLabel to be in the top-right corner. At the moment it is in the middle of the middle.
|
| setPixels on BufferedImage.TYPE_USHORT_565_RGB | 09 Dec 2005 20:27 GMT | 4 |
Does anyone know the format of pixels for an image of TYPE_USHORT_565_RGB format? I have an application that receives a byte[] of pixel information in 565 format so that two bytes contains an individual pixel.
|
| High-Speed Menus in Java (free source code) | 09 Dec 2005 17:03 GMT | 1 |
I was annoyed at how the keyboard sits idle during most Java graphics programs. Alt-keys are awkward and slow. As a public service, I wrote a utility that brings the keyboard to life. It's at timothyhowe.com/software -- click on OverlayMenu.java. There
|
| which thread to create gui | 09 Dec 2005 01:01 GMT | 11 |
I'm getting exceptions in my AWT-EventQueue-0 thread long after my gui has been created and I've got a problem that I think is related to the way my GUI is created. So I need to understand this better and try to hunt down this problem. I'm really getting confused between the new way
|
| Passing values from JTextField | 08 Dec 2005 23:21 GMT | 7 |
I'm trying to write a program that would at a click of a button collect values of JTextField and assign them to variables of different class(see code). As I see it this would be done best in a ActionListener class, however this class does not see local variables of a GearFrame class ...
|
| question on how to track points | 08 Dec 2005 21:39 GMT | 5 |
I am putting together an scatter chart type interface which shows a relatively large (1 thousand?) number of points. I was planning on using either polygons or gifs to put on the screen in paintComponent. One of the requirements is for the user to have the ability to click on a ...
|
| Moving Objects Java GUI | 08 Dec 2005 17:26 GMT | 6 |
I have currently created a widget wich displays a map. Now I want to run robots on that map. I have created robot widget wich implement the runnable interface and so in a thread move forward, backward, ... . But now my question is, is there a way to do this without threads ? The
|
| Drag and Drop | 08 Dec 2005 01:06 GMT | 1 |
Hi!In my app a have a small JPanel ,which represent a pc in the LAN.I want to Drag and Drop an IP,a string generally, in it ,so that the IP appears on top of the Panel.I have a JLabel there.So far I have managed to make the Drag and Drop feature possible only when the string is
|
| automatically not manually | 08 Dec 2005 00:56 GMT | 6 |
I wonder if I am in the right place but I would ask some java experts who have long relationship with Java development environment. I have ready software that displays real time stock prices. The data is displayed in a table as internal frame (or tables in different internal frames) ...
|
| How to start default browser when clicking on a label | 08 Dec 2005 00:47 GMT | 4 |
I was wondering how I can implement a JLabel that references to a http link. When I click that label the default browser should open and loading the webpage. This is for a JDialog 'About' window. I've seen this several times, but I've no idea how to implement this with
|