I believe that I've discovered a bug in how a window manager deals with
JDialogs. Briefly, if I create a JFrame and a number of JDialogs that are
owned by it, JDialogs that are made visible before the JFrame is made
visible perform correctly in that calling their toFront methods and their
setRes
Hi,
I'm having difficulty with JDialog.setVisible() on Blackdown Java-Linux
Java(TM) 2 SDK, Standard Edition Version 1.3.1 FCS and above (meaning the
latest, too). The first time that I use the setVisible method of
a dialog it comes up fine. After I hide it with setVisible(false),
calls to s
I have some code that I compiled with blackdown java j2sdk1.3.0 under linux,
and when I run it on a Solaris 7 box using Sun's runtime j2re1_3_0,
the call System.getProperty("file.encoding") returns the value 646. The code is quite
simple.
public class ShowMe {
public static void ma
Hi,
I need to determine whether a document lacks content. The doc may have
body and paragraph tags but be empty. I've tried and failed, so I
have 2 questions.
1) Is there an obvious way to do this that I'm overlooking?
2) Is my strategy OK? Here is what I've tried.
- Get an HTMLDocument.I
Wow, html rendered by JEditorPane looks nothing like the nice looking figure in
Niemeyer and Knudsen's book "Learning Java" (O'Reilly). Gaps between letters
within words are as large as gaps between words. I've built the JEditorPane using
defaults, and my runtime environment is Blackdown j2sdk1
Subject: Rules for names of text encoding schemes?
Hi,
I'm working with text encoding and retrieved a list of encoding
schemes from Sun's web site. While all of the names that I
retrieve work, meaning that I can instantiate either an
OutputStreamWriter or an InputStreamWriter with them, the nam
Why doesn't a call to getSystemClipboard give me what's in the
system clipboard? Briefly, I'm working under Linux using X
windows. I load something into the system clipboard from an
xterm using the left mouse button. Then, when I move into my
application and click on a home-grown paste button