| Thread | Last Post | Replies |
|
| Pixel values returned with getPixels() are wrong format | 01 Apr 2004 15:01 GMT | 3 |
I am a novice to image analysis, and trying to retrieve pixel values using the PixelGrabber class. When I print the int array pixel values obtained as below, I get this : -10592163 -9144717 -5855067
|
| Text in a Menu | 01 Apr 2004 14:36 GMT | 1 |
Is it possible to put a JTextField in a JMenuItem. Or do somehthing like that. I have heard it can be done with java 1.4, is this true. If so can anyone let me know how to do this or point me to somewhere i can find out about it.
|
| PAINT method | 01 Apr 2004 14:28 GMT | 1 |
I am trying to graphically access contentpane within the frame, so I wrote my own paint(Graphics g) method, which calls super.paint... and then I do my stuff. Now I have a question. Suppose I do some graphics which takes several
|
| Custom JTable colum renderer eat up CPU resources | 01 Apr 2004 12:12 GMT | 5 |
My following codes causes the CPU usage to 100% all the time: CustomTableHeaderRenderer renderer = new CustomTableHeaderRenderer(); TableColumn col1 = this.getColumnModel().getColumn( 0 ); TableColumn col2 = this.getColumnModel().getColumn( 1 );
|
| Center Text in JTextPane | 01 Apr 2004 12:10 GMT | 1 |
I am attempting to center text in a JTextPanel as illustrated in the code fragment below. Regardless of the value of second arg in the call to StyleConstants.setAlignment(AttributeSet, int), the text always starts at the left margin. Can anyone please help? Thanks in
|