window manager bug - how to report?

2005-03-02 Thread Dick Repasky
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

JDialog.setVisible(true) -> iconified

2002-05-25 Thread Dick Repasky
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

System.getProperty("file.encoding") = 646

2001-09-04 Thread Dick Repasky
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

isHTMLDocumentEmpty()

2001-08-25 Thread Dick Repasky
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

ugly html rendering by JEditorPane

2001-08-05 Thread Dick Repasky
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

Rules for names of text encoding schemes?

2001-07-29 Thread Dick Repasky
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

getSystemClipboard != system clipboard

2001-04-15 Thread Dick Repasky
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