Re: Applets, AWT and Netscape (2 questions)

1998-10-28 Thread Dimitris Vyzovitis
Hold on, don't be insulted... My AlertDialog hasn't main method because it's included in an applet. This is obvious... The applet's code creates an instance of AlertDialog and then, appears the AlertDialog which is a modal and no-resizable dialog. On LINUX, the modal-dialog mode works fine but no

Re: Applets, AWT and Netscape (2 questions)

1998-10-28 Thread Juergen Kreileder
> Carlos Alberto Roman Zamitiz writes: Carlos> My AlertDialog hasn't main method because it's included in Carlos> an applet. The applet's code creates an instance of Carlos> AlertDialog and then, appears the AlertDialog which is a Carlos> modal and no-resizable dialog. On LINU

Re: Applets, AWT and Netscape (Code included)

1998-10-28 Thread Carlos Alberto Roman Zamitiz
Sorry, I copied the code and I forgot the next line: import java.awt.event.ActionEvent; but program constains this line and it fails. greetings Carlos Alberto Roman Zamitiz Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM [EMAIL PROTECTED] On 27 Oct 1998, Juergen Kreilede

Re: Applets, AWT and Netscape (2 questions)

1998-10-28 Thread Carlos Alberto Roman Zamitiz
My AlertDialog hasn't main method because it's included in an applet. The applet's code creates an instance of AlertDialog and then, appears the AlertDialog which is a modal and no-resizable dialog. On LINUX, the modal-dialog mode works fine but no-resizable-dialog mode fails. On Win32, the modal-

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Juergen Kreileder
> Dimitris Vyzovitis writes: Dimitris> Juergen Kreileder wrote: >> > Carlos Alberto Roman Zamitiz writes: >> Carlos> Hi, Carlos> Here's the code: >> [...] >> >> Nice code, but it doesn't compile and it has no main method ;-) Dimitris> Well, it will c

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Dimitris Vyzovitis
Juergen Kreileder wrote: > > Carlos Alberto Roman Zamitiz writes: > > Carlos> Hi, > Carlos> Here's the code: > [...] > > Nice code, but it doesn't compile and it has no main method ;-) Well, it will compile if you change ActionEvent into java.awt.event,ActionEvent ;-} Why do you need

Very strange behavior [was Re: Applets, AWT and Netscape (Code included)]

1998-10-26 Thread Dimitris Vyzovitis
Hi, after attempting this snippet of code provided by Carlos, it seems that java-linux allows resizing of this Dialog despite the setResizable( false ) call, while java in winNT doesn't do so. I tried it with jdk116v5 and netscape 4.5 on linux and netscape 4.5, MSIE4.01, sun jdk1.1.6 and micro

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Juergen Kreileder
> Carlos Alberto Roman Zamitiz writes: Carlos> Hi, Carlos> Here's the code: [...] Nice code, but it doesn't compile and it has no main method ;-) Carlos> On Sun, 25 Oct 1998, Dimitris Vyzovitis wrote: >> Could you elaborate a bit? >> >> Dimitris >> >> > I

Re: Applets, AWT and Netscape (Code included)

1998-10-26 Thread Carlos Alberto Roman Zamitiz
Hi, Here's the code: import java.awt.Dialog; import java.awt.Color; import java.awt.Button; import java.awt.GridBagLayout; import java.awt.GridBagConstraints; import java.awt.Event; import java.awt.Panel; import java.awt.Graphics; import java.awt.Frame; import java.awt.Label; import java.awt.Dime

Re: Applets, AWT and Netscape

1998-10-25 Thread Dimitris Vyzovitis
Could you elaborate a bit? Dimitris > I have other problem: I done an AlertDialog, a child of Dialog, which is a > modal Dialog. I'm using Netscape 4.07 and my Linux box has > "Linux_JDK_1.1.5_v7" but users can resize my AlertDialog. > > Any suggestions? Thanks! begin:vcard n:Vyzovitis;Dimitr

Re: Applets, AWT and Netscape

1998-10-24 Thread Carlos Alberto Roman Zamitiz
I have this problem, too. I had done many applets since 1996 and it succeded always. I have to close Netscape and start it again, but Appletviewer works fine if I select "reload" in menu "file". I have other problem: I done an AlertDialog, a child of Dialog, which is a modal Dialog. I'm using Net