| Thread | Last Post | Replies |
|
| Beginers Q: JTextArea | 30 Jul 2005 09:12 GMT | 2 |
as an exercise, i am writing a simple text editor. i have attached a JTextArea component to a JPanel component, and then added this to a JFrame. my problem is, when i resize the JFrame (by clicking on Maximise
|
| printing big Graphics2D & memory? | 30 Jul 2005 08:27 GMT | 1 |
My application shows the Graphics2D in a JPanel. It shows and print diagram. I use class which extends JPanel implements Printable, on a classic, from example, way. It is usually 4 A4 papers big and it needs approx. 10MB/page. But sometimes
|
| PrintWriter output to GUI | 29 Jul 2005 16:35 GMT | 4 |
Is it possible to re-engineer an existing app that now statically creates a PrintWriter and outputs System.out to it with output_.println() to go to a scrollable GUI component? I believe not b/c no Swing app would have the println method and I dont see how you to force it; however ...
|
| Block Selection | 29 Jul 2005 01:04 GMT | 5 |
Hi friends, I am very new to Java.. I've created a notepad kind of editor.. I want to add a functionality of block selection using mouse.. Is any body who can help me...?
|
| I translate the 2D graphics object, but it prints new and old graphics on each page | 28 Jul 2005 21:02 GMT | 1 |
I am drawing a schematic using Java2D and want to print it. I want to print it 3 pages wide by 3 pages long, so I translate the 2D graphics object with in relation to the current pageIndex. It prints all 9 pages, but they all have their own "section" of the schematic as well
|
| How to remember the size of a dialog | 28 Jul 2005 20:24 GMT | 1 |
I have a dialog that pops up when I click on a button in my GUI. If I resize the popup dialog, then close it, then click on the button again, I want the dialog to remember the resize I did. How can I do this?
|
| Focus Issue with regards to JTable | 28 Jul 2005 19:21 GMT | 1 |
I have homemade buttons (Extended JLabels with MouseListeners) in columns 0 and 2 on a JTable. They work fine, except that when i first click on them, that cell gets focus and i have to click them a SECOND time to get the mouse event to fire. Is there a function dealing with
|
| Splash Screen Woes or Why doesn't setVisible(true) protect from setVisible(false) | 28 Jul 2005 18:52 GMT | 2 |
For the last week I've been tracking down a problem that has absolutely made me crazy. My program is a near real time GUI that monitors a piece of audio equipment.
|
| Fixed size font | 28 Jul 2005 16:42 GMT | 4 |
I would like to draw a string to a panel using the Graphics object (g) i.e g.drawString("Test",150,150); but I would like to be able to wrap a long string around the width of the panel (a bit like a word processor would). For this, I need a fix sized font where all the characters ...
|
| checkbox in JTable header? | 28 Jul 2005 16:05 GMT | 2 |
Is it possible to put a checkbox into a JTable header? The idea is to have a column of checkboxes, and also a checkbox in the header. Checking the one in the header causes all the ones in the column to also become checked.
|
| Two blinking cursors in jdk 1.4 | 28 Jul 2005 00:49 GMT | 3 |
We are migrating applets from jdk 1.3.1 to 1.4.2. For one of the applets, a certain sequence of actions involving clicking JTextFields, entering info and clicking buttons results in two blinking cursors being displayed. During input I even saw 3 blinking cursors. This did
|
| drawImage returns false for Microsoft Java | 27 Jul 2005 23:18 GMT | 7 |
barray - contains byte[] array of the PNG image image = Toolkit.getDefaultToolkit().createImage(barray); MediaTracker t = new MediaTracker(this); t.addImage(image, 0);
|
| Copy/Paste in an applet under MacOS | 27 Jul 2005 17:58 GMT | 16 |
I wrote a text editing applet using a JTextArea or a JTextPane (depending on what the user wants to write) and until now, all worked fine (I work in Linux and Windows environment). But last day, I was asking why the copy/paste didn't work under MacOS.
|
| JTextField not select all on double-click | 27 Jul 2005 17:53 GMT | 2 |
Is there a way of making a JTextField -not- select all the text when double-clicked? I'd like to make it just place the caret in the correct place. Has anyone any pointers?
|
| 3 state listbox? | 27 Jul 2005 17:52 GMT | 1 |
Is anyone aware of where I might obtain a "3 state" listbox, as opposed to the two-state JList? Something that might allow things to be a second color if they are selected, say, by right-clicking? Thanks, Ike
|