Hi I have a slight problem with the use of multiple modal dialogs using JRE 1.3.1 (works OK in 1.3.0 and earlier) If I have modal Dialog A open and I then open...
David Kelly
David.Kelly@...
Apr 24, 2003 3:12 pm
3299
I think you are right - I haven't specified the parent. I had used JDialog() instead of JDialog(owner,modal) Thanks ! ... From: Joel Kamentz...
David Kelly
David.Kelly@...
Apr 25, 2003 10:37 am
3300
Hi, I'm trying to find out how to locate a JFileChooser in the center of the screen, rather than its default location centered over its parent. Haven't found...
philp9
philp9@...
May 17, 2003 2:34 am
3301
Hi Soli, I've have previously tried using setLocation() but it doesn't change the position of my JFileChooser, any other ideas? It compiles without an error...
philp9
philp9@...
May 17, 2003 7:33 am
3302
Check the code in: JFileChooser.showDialog JFileChooser.createDialog JFileChooser.setLocationRelativeToParent You should see what is happening. Without knowing...
Prescott, Ralph
ralph_prescott@...
May 19, 2003 4:48 pm
3303
Hi all, I am using a JTextPane in which I have a to open a local .html file (i.e, html file to my harddisk) I tried using jTextPane.setPage(new...
Anil
anil@...
May 22, 2003 7:30 am
3304
Change it to jTextPane.setPage(new URL("file:C:/myPage.html")); U can use JEditorPane for the better results Regards Manoj Anil <anil@...> Sent by:...
ManojV@...
May 22, 2003 11:52 am
3305
Hi Ani , Try to Use this .. JEditorPane editorPane = new JEditorPane("file:" + System.getProperty("user.dir")+ "/xmlfiles/ECCHelp.html"); Thanks Surender ... ...
Surender Mohan Seshadri
SSeshadri@...
May 22, 2003 1:05 pm
3306
... From: Surender Mohan Seshadri Sent: Thursday, May 22, 2003 9:01 AM To: 'Anil'; swing_mailin_list Subject: RE: Setting a local html file to a JTextPane Hi...
Surender Mohan Seshadri
SSeshadri@...
May 22, 2003 1:21 pm
3307
Hi, I have a problem running the following code from a jar file. I am pre-instantiating a JFileChooser in a thread. It works when I run the code outside of a...
philp9
philp9@...
May 26, 2003 12:30 pm
3308
Hy Phil, I think your problem is in construction of CustomFileFilter(...) let me see this class, or at least the construction of it. Salvador Richter ...
Salvador Richter
Salvador.Richter@...
May 27, 2003 8:08 am
3309
Hi Salvador, Here is the class: import java.io.*; class CustomFileFilter extends javax.swing.filechooser.FileFilter { private String m_description = null; ...
philp9
philp9@...
May 27, 2003 10:09 am
3310
Hello all, I could use some design suggestions. I'd like to write a swing app that uses a tree. Most trees are rendered like this, with every single child...
Erik Ostermueller
eostermueller@...
May 27, 2003 3:53 pm
3311
This is a view issue not model issue. To do this you're probably going to have to provide your own UIDelegate. Take a look at...
Prescott, Ralph
ralph_prescott@...
May 28, 2003 7:38 pm
3312
I'm going to make a wild guess here... * PreInstantiate is in the same file as CustomFileFilter * both are inner classes -- i.e. nested classes but not static...
Prescott, Ralph
ralph_prescott@...
May 28, 2003 7:49 pm
3313
Salvador. Thanks, it was an issue with the CLASSPATH, the graphics issues are fixed also. It know works under windows and linux. Regards, Phil ... From:...
philp9
philp9@...
May 28, 2003 10:55 pm
3314
Hi guys, Cause I want to display an HTML source file onto a JLabel. and i want to show all tags out, but it parse the html format automatically for me. How to...
Lei Gao
gao@...
May 29, 2003 5:56 pm
3315
Thanks. That sounds like a concrete start -- it will all take me a bit to digest, though. For starters, ... wrote: >> You have to support multiple PLAFs and...
Erik Ostermueller
eostermueller@...
May 29, 2003 5:59 pm
3316
... <caveat> My experience with PLAFs is limited to Windows and Metal. I have zero experience with Mac or Motif. </caveat> To your question: it depends on the...
Prescott, Ralph
ralph_prescott@...
May 29, 2003 7:02 pm
3317
RE: customizing the layout of nodes in a JTreehi, I was thinking creating a generic hierarchical data browser so I can use it for browing data in LDAP,...
bing ran
b55r@...
May 30, 2003 12:48 pm
3318
Hi, I want to suspend the awt thread but still get painting done. Is this possible? assume this piece of code: actionPerformed(ActionEvent e) { Runnable...
Deblauwe, Wim
wim.deblauwe@...
Jun 11, 2003 6:11 am
3319
suspend the awt threadHey, From what I understood what you wish to achieve is that the UI should continue to repaint but the user should not be able to...
Sachin Hejip
sachinh@...
Jun 11, 2003 6:46 am
3320
suspend the awt threadSorry - sent it before completing my sentence - I meant to say a) seems the best way . :-) ... From: Sachin Hejip To: Deblauwe, Wim ;...
Sachin Hejip
sachinh@...
Jun 11, 2003 6:48 am
3321
Yes, a) is what I want to do. Now the progressbar is started in the MyRunnable() class. Are you saying that I should start it within the actionPerformed()...
Deblauwe, Wim
wim.deblauwe@...
Jun 11, 2003 6:51 am
3322
suspend the awt threadYes, create the dialog and start the progress bar in the action peformed and then update it with calls to SwingUtilities.invokeLater in...
Sachin Hejip
sachinh@...
Jun 11, 2003 7:05 am
3323
suspend the awt threadSorry, since the dialog is modal you need to show it in the run of the runnable (again in the SwingUtilities and not in the...
Sachin Hejip
sachinh@...
Jun 11, 2003 7:09 am
3324
true, but what if it is not possible to do all operations in the Runnable? ... From: Sachin Hejip [mailto:sachinh@...] Sent: woensdag 11 juni 2003 9:50...
Deblauwe, Wim
wim.deblauwe@...
Jun 12, 2003 8:09 am
3325
The one glaring omission from Swing (or even AWT) is a *decent* web browser component. JEditorPane only handles trivial HTML, so its basically useless for this...
Frank D. Greco
fgreco@...
Jun 19, 2003 3:12 am
3326
Hi, If I am not mistaken there are is a pretty easy way to integrate the browser component of IE into a Swing frame. I vaguely remember reading it. Of course ...
Sachin Hejip
sachinh@...
Jun 19, 2003 4:56 am
3327
... You can probably do that with Jawin. But I was thinking of a quality browser written in Java that comes with Swing. Something that is similar in quality...