JSplitPane.setDividerLocation(..)
I have a JSplitPane both contains an JScrollPane on top and bottom part of the splitpane. When try to set the divider's location in v1.2.2 RC4, nothing seems to be happened. The same code works fine in v1.3. Is this a bug in v1.2.2? Thanks! __ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
System.setProperty("java.class.path", classpath)
Hi, As the subject stated, I would like to know what is the effect of doing that during runtime. As far as I understand, we can't use this method to include the jar files into the classpath to avoid specifying them in command line. Is there any alternative besides writing a custom class loader? Thanks! __ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
String manipulation
Hi all, I have a dummy question regaring a double-quoted string written in multiple line. Here is what I have been doing: stmt.executeQuery( "SELECT COF_NAME, " + "SALES FROM COFFEES " ); Is there a way to to eliminate the '+' sign by doing something like below? stmt.executeQuery( "SELECT COF_NAME, \ SALES FROM COFFEES " ); I know the code cannot be compiled, but is there any substitution to the escape character above? Many thanks in advance. __ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Question on MouseEvent
Hi, I have a JWindow displayed below a button, similar to a JComboBox. The problem is when the "parent" JFrame is moved to other location, the JWindow is still remain on the screen at the old location. How do i hide the JWindow when I click/drag on the title bar of the "parent" JFrame? I have notice that JWindow, and all it's child components will not receive the key focus, otherwise i will just need to catch the FocusEvent. any help is appreciated. thanks in advance. __ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Print to file
Hi, Is there any way to print to a file with PrinterJob? I noticed that with PrintJob, the print dialog has the option but not for PrinterJob! Thanks in advance. __ Do You Yahoo!? Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free! http://photos.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mouse click on title bar
Hi, is there a way that i can catch the event when user click on the title bar of a JFrame/JInternalFrame? I have search through the API and couldn't find anything that is related. Adding a mouse listener to the frame will only fire the mouseClicked event when clicking on the window's border, not the title bar. Thanks a lot. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Mouse click under KDE2
Hi all, When I run NetBeans using Blackdown's JDK 1.3.x under KDE2, all the mouse clicks are treated as right-click! Does anyone know what is wrong and how to fix it? I am running Mandrake 8.0 Thanks! __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Maximum number of thread
Hi all, I am wondering is there a maximum number of thread that a JVM can creates? Is it related to the kernel? What about on other platform like Solaris and Windows? Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Delete Key
Hi, Just a simple question. Why does a square box appeared whenever I press the Delete key? This happens in TogetherJ 4 and 'sometimes' in Netbeans/FFJ. I am using Blackdown JDK 1.3.1-FCS + KDE 2.2.1 + XFree86 4.1.0 Thanks a lot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
