| Thread | Last Post | Replies |
|
| JTextPane: unusual problem.. | 08 Oct 2005 22:58 GMT | 1 |
I have this chat app window, top JTextPane is where incoming messages from other chatters appear (standard chat window behavior..) prob is that window 'refreshes' text every 30 seconds (to display incoming messages), and b/c it refreshes every 30 seconds can't copy any selected
|
| JTable row selection (left and right mouse) | 08 Oct 2005 22:34 GMT | 1 |
Is it possible to be able to allow users to use either the left or the right mouse button to select one or more rows in a JTable, and upon the selection, be able to tell which mouse button they used to select the row(s)?
|
| dimensions of components... | 08 Oct 2005 18:56 GMT | 9 |
I have this JApplet for a chat app window.. that I did w/much help from some people here, esp Michael Dunn, Andrew... :) now it turns out I have to do it EMBEDDED in browser, not in its own window (so now it's a JApplet, not a JFrame..) I'm assuming this means that ...
|
| Fast image scaling | 08 Oct 2005 02:17 GMT | 9 |
I'm writing a program which involves drawing several copies of the same image inside of a JPanel. I have a listener on the mouse wheel to "zoom in/out", so that every image scales up or down in size at the same time. I'm having many problems getting this to run smoothly.
|
| JTextPane: set text alignment | 07 Oct 2005 19:50 GMT | 4 |
why is this being ignored.. textAreaTop.setAlignmentY(textAreaTop.BOTTOM_ALIGNMENT) have tried to use this method a no. of times, it never works.. what other way is there, pls, to set text alignment.. thank you..
|
| Actions - Best practice | 07 Oct 2005 19:18 GMT | 1 |
Just thought I'd get a consensus of how other developers handle actions and what they prefer. As far as I see it there are many methods to handle actions on e.g. a JButton.
|
| the java event model | 07 Oct 2005 11:12 GMT | 4 |
Hi everybody, I'm Luca. I have a doubt about the java event model (jdk1.4.2): In Motif all modifications to the widgets properties have to be made from inside the event loop through some callback; if an external task
|
| How to convert GUI component's graphics to int[]or byte[]? | 07 Oct 2005 10:03 GMT | 16 |
Has anyone ran into the problem of trying to get a GUI component's graphics converted into an array of ints (or, even better, bytes)? I've tried doing this by having the component paint() its graphics on a java.awt.image.BufferedImage and then using a
|
| Daily Java News and Articles | 07 Oct 2005 00:13 GMT | 2 |
Stay informed with Daily Java News and Articles from 100+ sources in one central place. You can view the latest and last 7 days news and articles, you can also view older news and articles as far back as 2002.
|
| Focus question.. | 06 Oct 2005 20:35 GMT | 9 |
I have two text panes, one on top of window other one below (this is for an IM window..) I'm trying to set it up so when window opens focus is on bottom text pane (where users type msgs)
|
| Why is show() prevailing? | 06 Oct 2005 19:19 GMT | 9 |
This is largely off-topic but might be educational on some aspect. A major percentage of beginners' Swing code use show() method for JFrame visibility. Of course it gets compiler warning. Why on earth youngest generation keep using an old deprecated API
|
| swing question | 06 Oct 2005 11:42 GMT | 1 |
I have an application (an MDI) that has embedded tab boxes , edit areas, and other frames that all get tweaked by the user via adjusting the different areas of the MDI to the sizes of that user's preferrences This allows the user to view many sections of the document at once.
|
| How can i diffrentiate between double clicks and single clicks seprately | 06 Oct 2005 09:20 GMT | 14 |
How can i differentiate between double click and single click? if i get single click i didn't want to get double click? and if i get double click i didn't want to get single click? I hereby use one timer to delay until the double click occurs...
|
| Help with creating an editor...... | 05 Oct 2005 23:14 GMT | 2 |
I have been searching for some help since 1 month in various forums and now Iam here expecting something good for me. I want to develop an editor similar to the one in ECLIPSE with all the features in eclipse like syntax auto-fill and help etc.
|
| focusGained component does not match focusOwner | 05 Oct 2005 13:40 GMT | 8 |
In my applet, I have trace statements in focusGained/lost methods indicating isEventDispatchThread value, the component and opposite component associated with the event, as well as the current focus owner and the permanent focus owner. I'm finding that on a focus gain, the
|