| Thread | Last Post | Replies |
|
| choosing linestyles with a combobox | 26 Nov 2005 16:29 GMT | 2 |
I'm trying to let a user choose a linestyle (that is several predefined dash patterns) by selecting one out of a combobox. I try to display a preview line in each item of the combo. The problem here is that only the selected element is painted and
|
| size of a string in pixel ? | 26 Nov 2005 16:28 GMT | 3 |
In my graphic layout, i'd like to set the dimensions of the string-based components. the thing is that in order to preserve the layout, I'd like to set the component's size to its maximum
|
| resize windows with JFrame | 26 Nov 2005 08:43 GMT | 4 |
I have make a class that extend JFrame. I have some textlabel, buttons, etc. But when I enlarge the window then buttons don`t move together. How can I do?
|
| mouseDragged() sensitivity? | 25 Nov 2005 11:12 GMT | 2 |
I wonder if there's a way to change the "sensitivity" of the mouseDragged() event. I mean, is there a chance to set the amount of pixels the user has to drag the mouse before the event is fired? cu
|
| keep open JComboBox drop-down list | 25 Nov 2005 11:11 GMT | 2 |
Cell renderer and font problem is solved by calling JComboBox#setFont() method from within the renderer mothod. Thanks again all the people who gave the hint.
|
| disable ctrl+alt+del | 25 Nov 2005 05:38 GMT | 1 |
i'm developing a swing application where access to windows is to be prevented.the application runs in full screen mode.when the app is runnig, ctrl+alt+del should not let the user see the shutdown dialog box. please advice about how that can be done
|
| JTextPane problem | 25 Nov 2005 00:34 GMT | 1 |
I using a JTextPane to display HTMLDocument. I use setdocument followed by settext to switch between multiple html documents. After the documents are displayed once, the style does not seem to be applied at all when I switch to an htmldocument again. (which
|
| JComboBox cell renderer doesn't render the top item | 25 Nov 2005 00:34 GMT | 9 |
Below is an SSCCE for the problem. The renderer renders item text in the drop down list in italic font. But it doesn't render the top item of the box in italic. What could be the solution. T.I.A. ---------------
|
| JTree visible event? | 25 Nov 2005 00:34 GMT | 1 |
I can't use isVisible and isRootVisible to determine when a JTree is displayed. Is there an event trigger when a JTree is done displaying? Thanks
|
| Graphics2D problem | 24 Nov 2005 16:04 GMT | 1 |
Hi to all, i describe a drawArrow method below, which takes 5 parameters : a graphics object g and the coordinates of 2 points. What i want to achieve is to draw a dotted line
|
| JTextPane does not reapply styles when document changes,,, | 24 Nov 2005 15:00 GMT | 1 |
I have a simple program where a JTextPane displays a number of HTML files in a directory. Each of these HTML files has a style sheet linked to it through the <LINK tag. I read in all the HTML files into a list of documents and display them
|
| How to send mouse event to another component? | 24 Nov 2005 08:55 GMT | 2 |
I have built a JPanel with lots of other small JPanels in it ("Thumbs"). Now I would like to have all mouseDragged() events on the thumbs to be treated as if they happenend on the JPanel they reside in. I tried adding a MouseInputAdapter() to each of my thumbs but appearently I
|
| Triggering a Button press through a Key Listener | 23 Nov 2005 10:46 GMT | 4 |
I need to trigger a Button press when the operator has entered data in a JTextField and presses the Enter key on the keyboard. I set up an KeyListener for my JTextField for capturing the "Enter" key but what do I call to trigger a button press?
|
| Buttons matrix | 22 Nov 2005 23:06 GMT | 4 |
I have an AWT problem. I'd like to add some Buttons to a Panel (with a GridLayout of dynamic dimension). Practically when I click on button1 it should happens this:
|
| Does fireTableStructureChanged work on JTreeTable | 22 Nov 2005 22:17 GMT | 1 |
I've tried every fire method on a JTreeTable after calling setHeaderValue to reorder columns but it refuses to reorder the columns. Here is some sample code:
|