JAVA/Linux problem

1998-11-27 Thread David House
I just installed the JDK on a RedHat 5.1 Linux machine.  The javac seems to be working fine, but when I try to run an application, it gives me the error Can't find class 'whatever'.  For example, here is my code   David.java:       class David     {     public static void main( String[

Re: Modal Dialog within applets

1998-11-27 Thread Dimitris Vyzovitis
You can simply find out which the top level parent frame is. THis is how you can do it : public static Frame getTopLevelParent (Component component) {     Component c = component;     while (c.getParent() != null)     c = c.getParent();     if (c instanceof Frame)    

Re: JWindow.setLocation()

1998-11-27 Thread Juergen Kreileder
> Robert P Biuk-Aghai writes: Robert> I suspect it's a window manager problem. Which wm do you Robert> use? I too have noticed problems that I believe to be wm Robert> problems. In my case, using fvwm, when I start an Robert> application (extending JFrame from Swing 1.0.2) wi

Re: (no subject)

1998-11-27 Thread Gerald Waugh
unsubscribe

Re: JWindow.setLocation()

1998-11-27 Thread peter . pilgrim
I have used JWindow to implement a splash screen for Xenon-SQL. I had a bit of trouble with `setBounds()' after I packed it and set it the middle of the screen. I turns out that just packing worked on Linux/KDE but failed on Solaris/CDE Motif. I have to perform a setSize() and pack() and setVi

Re: JWindow.setLocation()

1998-11-27 Thread Catalin CLIMOV
Hi Robert, I'm using KDE. I think I found a way to temporary solve the problem in my case. I've noticed that JWindow.setLocation() works fine if the JWindow.isVisible(). Fortunately, I use a class that extends JWindow, so I have overridden the setLocation method: public void setLocation(int x, in

Re: JWindow.setLocation()

1998-11-27 Thread Robert P. Biuk-Aghai
I suspect it's a window manager problem. Which wm do you use? I too have noticed problems that I believe to be wm problems. In my case, using fvwm, when I start an application (extending JFrame from Swing 1.0.2) with a menubar it is placed at position 0,0. When I click on a menu in the menubar, t

JWindow.setLocation()

1998-11-27 Thread Catalin CLIMOV
Hi, I have an application in a JFrame, and sometimes I have to show a JWindow somewhere on the screen. It seems JWindow.setLocation() is not working properly. To be more precise, my JWindow appears always at (0,0), doesn't matter the real location I want. But if I move the JFrame on the screen

Re: Using "setSize" with a Frame.

1998-11-27 Thread Juan Carlos Zuluaga
Hi. There is a problem with some components (Component) when you want to change it size. You must overwrite the method getPrefferedSize, and it works. Or before caliing show method you write the pack method. Karthik Vishwanath wrote: > Hi all, > when i create an application as : > pu

java and proxies

1998-11-27 Thread david . atkinson
Does anyone know if it possible to use multiple proxies for URL connections within a single java program? I have an application that needs to access to different proxies to get to different networks (long story). I can access either proxy by setting the System properties proxySet etc. However if

Re: java runtime object invoke a linux interavtive command

1998-11-27 Thread Java News Collector
At 04:58 PM 11/26/98 +0800, optima wrote: >hellow friend >I can use the runtime object to exec() a "ls". >But I can't invoke the command "passwd " >because it need to comfirm the passwd .how can I do >thank my linux fan. If you aren't using shadow passwords, you can just locate the password in t

process and streams

1998-11-27 Thread Stef Epardaud
On Thu, Nov 26, 1998 at 05:55:16PM +0800, optima wrote: > my linux fan : thank you very mach! > I has try this method before I mail my first letter. > I found if my code don't invoke "waitfor()". I can get the > inputstream of the new process. so I try use printstream to > write new password to

Unidentified subject!

1998-11-27 Thread optima
my linux fan : thank you very mach! I has try this method before I mail my first letter. I found if my code don't invoke "waitfor()". I can get the inputstream of the new process. so I try use printstream to write new password to the stream and invoke the "waitfor()" but the process do not go o

Re: java runtime object invoke a linux interavtive command

1998-11-27 Thread Stef Epardaud
On Thu, Nov 26, 1998 at 04:58:36PM +0800, optima wrote: > hellow friend > I can use the runtime object to exec() a "ls". > But I can't invoke the command "passwd " > because it need to comfirm the passwd .how can I do > thank my linux fan. Hello, not sure if that will be of any help, but you cou

java runtime object invoke a linux interavtive command

1998-11-27 Thread optima
hellow friend I can use the runtime object to exec() a "ls". But I can't invoke the command "passwd " because it need to comfirm the passwd .how can I do thank my linux fan.

Using "setSize" with a Frame.

1998-11-27 Thread Karthik Vishwanath
Hi all, when i create an application as : public class Myapp extends Frame { public Myapp() { super("MyApp"); setSize(100,100); show(); } } and run it, the setSize does not resize the frame. Can anyone tell me what must i do i

Re: Any source code for db tools?

1998-11-27 Thread Gao Lei
Thanks, Remus, Maybe I did not express my meaning clearly. What I want is not a database itself, but some tools like Xsql, interactive clients using Java for manipulating the database. Thanks your response anyway. Gao Lei Remus Pereni wrote: > Gao Lei wrote: > > > > Hi, guys, > > > > Dose any

Re: New user

1998-11-27 Thread wdacruz
-WELCOME- to the Java Developer Connection(sm) Newsletter, covering Early Access software releases, new products, developer programs, and more. J D CN E W S L E T T E R PRODUCT NEWS * Early Access Developer Release Softwa

Any source code for db tools?

1998-11-27 Thread Gao Lei
Hi, guys, Dose anybody know where can I get some db tools source code similar to XSQL? Better in Java. Thanks Gao Lei.

Unsubscribing from the list

1998-11-27 Thread Kelvin Teh
I am sorry to post this message but i seem to have lost the instructions ot unsubscribe from the list...could someone with th einformation e-mail me with it...or better yet just do it for me?