| Thread | Last Post | Replies |
|
| how to print vector object, consisting of points ?? | 21 Sep 2006 12:36 GMT | 5 |
I am using a vector object to store few java.awt.points. is there any way to print the values stored in the vector on the console? plz help regards
|
| arithmetic operations on vectors | 21 Sep 2006 01:45 GMT | 5 |
I have a newbie question on vector operations. I have some vectors that are filled exclusively with doubles and are the same length. How can I perform simple arithmetic operations like vector3=vector2+vector1. Do I need to loop through all the elements?
|
| 'System.ComponentModel.Win32Exception' | 19 Sep 2006 20:20 GMT | 2 |
Im getting this exception as my runtime error. An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.windows.forms.dll Additional information: Unknown error (0x578)
|
| Tweaking DefaultTreeCellRenderer | 19 Sep 2006 15:49 GMT | 6 |
I'm implementing Drag & Drop for my JTree and I got everything working so far. There is only one thing that I'd like to add: I would like to highlight the node that is the current drop target somehow. I did manage to select the node during my dragEnter() and dragOver() events, ...
|
| BufferStrategy | 17 Sep 2006 00:45 GMT | 7 |
I just recently stumbled upon BufferStrategy and its uses, and decided to use it instead of double-buffering things myself. The problem I have is that there's no way for me to define where to have it start drawing (something like setLocation()), so it always starts drawing at the 0 ...
|
| How to move focus from one JTree node to another one and then back again? | 16 Sep 2006 22:45 GMT | 1 |
Say I have a very simple JTree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ package main; import java.awt.BorderLayout;
|
| How to build a swing dialog for aborting a running computation thread? | 16 Sep 2006 14:19 GMT | 2 |
I've the following problem: I want to start a computation in a seperate thread, while this computation thread is runing the application should show a dialog to the user with a button to abort the computation. Here is a code sample:
|
| supress event? | 15 Sep 2006 21:34 GMT | 3 |
Is there a way to modify the value of a JSlider without firing an event? Or a way to tell if the event is program or user driven?
|
| GUI programming style | 15 Sep 2006 17:14 GMT | 3 |
I'm new to Java and I'm writing a Swing application. I wondering what the better programming practice is when writing code under each widget. For instance, if I have a jButton and I want something to happen when the operator clicks the button. Should I only put a method call,
|
| Screen Available area Problem | 15 Sep 2006 14:38 GMT | 1 |
I am fed up with a problem tht if i include some taskbars in my screen then height of application developed by me in JSF is not adjusting. it shows scroll bars. So I want that through a javascript i can get the screen available area and work accordingly. so i need a script that
|
| JTable functionality to display full cell text | 14 Sep 2006 11:52 GMT | 4 |
I would like to add the functionality to a JTable whereby moving the mouse over a cell where the full text is not visible (because the column in not wide enough) causes a mini "window" to popup displaying the full text over the top of the cell and to its right. You can see this ...
|
| comp.lang.java.gui FAQ | 14 Sep 2006 11:04 GMT | 3 |
Archive-name: computer-lang/java/gui/faq Version: $Revision: 1.20 $ Posting-Frequency: monthly Copyright: Copyright (c) 2003 - 2006 Thomas Weidenfeller
|
| Changing a JCheckBox without activating ItemListeners | 14 Sep 2006 09:58 GMT | 3 |
I have JCheckBoxes on the screen, but sometimes I want to programatically change the state of them based on external events (which might be trigged by the user clicking the checkbox, or from other external events). I don't want to invoke the ItemListener when the program changes ...
|
| Redraw happening only on clicking Maximize button.. Then how can i.. | 13 Sep 2006 16:16 GMT | 2 |
Code... class jf extends JFrame Implements ActioinListener { Menu x;
|
| drag and drop - JTree and JList | 13 Sep 2006 14:33 GMT | 8 |
Does anyone have example of drag nad drop between JList and JTree? I would like to take some entry in list and drop in into one leaf on tree. The result is some message - I don't want to change anything in tree.
|