JDialog not visible

2001-05-23 Thread Amol Kulkarni

Hi,
Following is a code which i use to invoke a JDialog on Red Hat 7.0
using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible.
I see that it is being created at the status bar,but it still doesn't
show up
The same code works perfectly well on Windows NT. Can anybody tell me
the reason behind it.
Note: The following code is in an applet.
/*Code Start*/
JDialog npd=new JDialog(Dialog d,String s);
npd.show();
npd.setSize(250,250);
/*Code End*/

Q)Why there is diference between presentation of applets in windows
and linux?

Thanks and Regards
Amol






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Nathan Meyers

Amol Kulkarni wrote:

> Hi,
> Following is a code which i use to invoke a JDialog on Red Hat 7.0
> using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible.
> I see that it is being created at the status bar,but it still doesn't
> show up
> The same code works perfectly well on Windows NT. Can anybody tell me
> the reason behind it.
> Note: The following code is in an applet.
> /*Code Start*/
> JDialog npd=new JDialog(Dialog d,String s);
> npd.show();
> npd.setSize(250,250);
> /*Code End*/
>
> Q)Why there is diference between presentation of applets in windows
> and linux?

Amol,

Some more context would be helpful. This behavior may be dependent on
something you're not showing; can you provide a complete, small program
and indicate how you run it?

As for your question about different presentation, again - some more
detail please... are you talking about the look and feel of the GUI, the
JDialog display problem, or something else entirely?

Nathan

>
>
> Thanks and Regards
> Amol
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Joi Ellis

On Wed, 23 May 2001, Amol Kulkarni wrote:

> Hi,
> Following is a code which i use to invoke a JDialog on Red Hat 7.0
> using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible.
> I see that it is being created at the status bar,but it still doesn't
> show up
> The same code works perfectly well on Windows NT. Can anybody tell me
> the reason behind it.

I don't remember the specific details, but the gist of the problem is
that the native peers for JWindow, JDialog, and JFrame perform some
native pack()/revalidate() calls on their own, masking the need to do
them in Java.  I've encountered a number of apps written by windows
developers which behave this way on Solaris and Unix because the
java code doesn't call the *validate() methods it needs to be calling.

I'm sorry, but I don't remember the specifics.  The last time I
had source available to fix this was 8 months ago and I've long forgotten
what I had to fix.

> /*Code Start*/
> JDialog npd=new JDialog(Dialog d,String s);
> npd.show();
> npd.setSize(250,250);
> /*Code End*/

Shouldn't you do the setSize() before the show()?

-- 
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Java on Linux talks at Javaone?

2001-05-23 Thread ed phillips

Hi all,

Is Calvin or anyone else giving any talks on their work to get
the latest JDK and Hotspot going on Linux?

Calvin sent some intriguing hints about the work he had to do
to get Hotspot performing well on Linux, but I'd like more info
or even documentation on it.

Also, who is using native threads in production using Sun's
JDK 1.3.

I am planning on porting a Jakarta/Tomcat/JSP app from Solaris
to Linux and would like to hear from those who are using the latest
and greatest in production. (i.e. what is the most stable highest
performance setup?)

Thanks,

Ed Phillips


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Problem with nvidia driver 1.0 in linux (redhat 7.1) (fwd)

2001-05-23 Thread Juergen Kreileder

On Sun, 20 May 2001, Michael Walton wrote:

> -- Forwarded message --
> Date: Sun, 20 May 2001 01:01:55 -0400 (EDT)
> From: Michael Walton <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Problem with nvidia driver 1.0 in linux (redhat 7.1)
> 
> Hi,
>   I am new to this list (i don't know where i can read archives
>   either).

> I have redhat 7.1 and i just got the nvidia 1.0 driver. I also have
> java 3.1 from sun installed and java3d from blackdown also
> installed.  It seems to work reasonably ok except for the
> OffScreenCanvas3D demo (which crashes).  My feeling is that it is an
> nvidia bug in one of the libs they supply (they overwrite some of
> the opengl libs). Here is the copy of the automatically generated
> error-report.  Maybe someone who understands this stuff might have
> some clue as to what the actual bug is.  I wrote to nvidia already
> but I didn't really have enough info to give them (other than what
> you see here).
> 

The next J3D release has work-around for this problem.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Visit the Java 2 Platform on Linux BOF at JavaOne: 
http://servlet.java.sun.com/javaone/conf/bofs/1745/0-sf2001.jsp


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Java on Linux talks at Javaone?

2001-05-23 Thread Juergen Kreileder

On Wed, 23 May 2001, ed phillips wrote:

> Is Calvin or anyone else giving any talks on their work to get
> the latest JDK and Hotspot going on Linux?
> 
> Calvin sent some intriguing hints about the work he had to do
> to get Hotspot performing well on Linux, but I'd like more info
> or even documentation on it.

Calvin is doing "The JavaTM 2 Platform, Standard Edition (J2SETM) on
Linux":
http://servlet.java.sun.com/javaone/conf/sessions/1641/0-sf2001.jsp

And I think he'll also be at "The JavaTM 2 Platform on Linux" BOF:
http://servlet.java.sun.com/javaone/conf/bofs/1745/0-sf2001.jsp


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Visit the Java 2 Platform on Linux BOF at JavaOne: 
http://servlet.java.sun.com/javaone/conf/bofs/1745/0-sf2001.jsp


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Blackdown JDK1.3.1?

2001-05-23 Thread Juergen Kreileder

On Fri, 18 May 2001, Scott Langley wrote:

> Hi Blackdown Developers.
> 
> Will you be releasing a version of JDK1.3.1 with maybe some of the
> deficiences of Sun's just-released version corrected?

Yes.  Although it might take a couple of days more because there are
some stability problems with HotSpot.

> In particular:
> 
> Support for KDE2:
> http://lists.kde.org/?l=kde-core-devel&m=98562599002412&w=2
> http://lists.kde.org/?l=kde-core-devel&m=98588662130333&w=2
> 
> and avoiding regressions like:
> http://java.sun.com/j2se/1.3/relnotes.html#awt
> 
> "Bug 4199374 concerns a focus management problem with JWindow
> objects. In particular, this bug prevents Component.requestFocus()
> from giving focus to components in a JWindow. This bug was fixed in
> update releases J2SDK 1.2.2_05 and J2SDK 1.3.0_02. However, it is
> not fixed in J2SDK 1.3.1."

I'll take a look at this.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Visit the Java 2 Platform on Linux BOF at JavaOne: 
http://servlet.java.sun.com/javaone/conf/bofs/1745/0-sf2001.jsp


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




j2sdk 1.3.0 for sparc-linux?

2001-05-23 Thread Alex Buell

I really /need/ j2sdk 1.3.0 running on sparc-linux to run some java
clients on my sparc box, what's the status on this one? The last news item
dates back to September 2000 and there's been nothing new since. I do have
j2sdk 1.2.2, but this doesn't seem to work with the client I'm using.

I'm really desperate, I'll even help beta, or even alpha test sparc-linux
j2sdk binaries. Or if you have no sparc boxes, I can help with that.

System configuration:

Linux kernel 2.2.19
glibc 2.1.3
binutils 2.10.1
gcc 2.95.3

not forgetting X11 - Xfree86 4.0.3.

running on sparc32.

Alex.
-- 
Man throws egg at Widdecombe: snarling winged beast-creature stinking
of sulphur emerges from her stomach and eviscerates him.

http://www.tahallah.clara.co.uk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: j2sdk 1.3.0 for sparc-linux?

2001-05-23 Thread Johan Vos

Alex,

1.3 is running on sparc-linux but not packaged yet. I will try to package
it before JavaOne.

- Johan

On Wed, 23 May 2001, Alex Buell wrote:

> I really /need/ j2sdk 1.3.0 running on sparc-linux to run some java
> clients on my sparc box, what's the status on this one? The last news item
> dates back to September 2000 and there's been nothing new since. I do have
> j2sdk 1.2.2, but this doesn't seem to work with the client I'm using.
>
> I'm really desperate, I'll even help beta, or even alpha test sparc-linux
> j2sdk binaries. Or if you have no sparc boxes, I can help with that.
>
> System configuration:
>
> Linux kernel 2.2.19
> glibc 2.1.3
> binutils 2.10.1
> gcc 2.95.3
>
> not forgetting X11 - Xfree86 4.0.3.
>
> running on sparc32.
>
> Alex.
>

-- 
===
Johan Vos   [EMAIL PROTECTED]
Sesuad'ra Projects  http://www.sesuadra.org



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: j2sdk 1.3.0 for sparc-linux?

2001-05-23 Thread Alex Buell

On Wed, 23 May 2001, Johan Vos wrote:

> 1.3 is running on sparc-linux but not packaged yet. I will try to
> package it before JavaOne.

Thanks, you're going to make me a very happy man. I'll even test it for
you ;o)

Alex.
-- 
Man throws egg at Widdecombe: snarling winged beast-creature stinking
of sulphur emerges from her stomach and eviscerates him.

http://www.tahallah.clara.co.uk


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Uncle George

I have also encountered the same "symptom", when a file dialog menu was
shown for a second time. The first time presented it it displayed. The
second, and all other times is was created 'minimized' ( i.e. on the task
bar ).  This, I think, is a bad interaction between the awt & the motif
used to do the linux port.  There is an #ifdef  linux fix in the area
that causes the problem in jdk1.3.1, but the true test was the actual
running of the intel jdk binaries which no longer exhibited the problem.
On other linux platforms, with sharable metrolink motif, one has to nuke
the code under the #ifdef linux for it to work properly ( for that
instance ).

/gat

btw i cannot tell u what code ( jdialog, or otherwise ) was being used,
as all I had was .class files.

Amol Kulkarni wrote:

> Hi,
> Following is a code which i use to invoke a JDialog on Red Hat 7.0
> using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Blackdown J2SDK 1.4 port?

2001-05-23 Thread Jim Hazen

Since Sun released their J2SDK 1.4 beta today.  I was wondering when and if
Blackdown would release their port.  I've always found the Blackdown VMs to be
of the highest quality, and would really like to use them over Sun's.  But I
would also like 1.3.1 and 1.4.0 support.  I hear that 1.3.1 support is in the
works and will be a few days, cool.  Any idea when a 1.4 port might be ready?

Thanks,
Jim


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Uncle George

Follow-up, the minimization to the scroll-bar did not happen in jdk1.2.2,
just FYI.
/gat

Amol Kulkarni wrote:

> Hi,
> Following is a code which i use to invoke a JDialog on Red Hat 7.0


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Blackdown J2SDK 1.4 port?

2001-05-23 Thread Peter Schüller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> Since Sun released their J2SDK 1.4 beta today. 

*fights to regain breath*

Wow. I had no idea until I read this message.

Unfortunately, the link at Sun's page yields a Permission Denied error at 
this time. Does anyone have a direkt link to the Sun download page? Just in 
case it works better :)

- -- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7DEbLDNor2+l1i30RAjwEAJ9v83cG25SSCsyLyjHQV6YTt+4QAwCeIgtA
8VAPQumm/HkGVcWPbLK1B+8=
=m+p3
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Blackdown J2SDK 1.4 port?

2001-05-23 Thread Peter Schüller

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Disregard my last message. Temporary problem :)

- -- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrival: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7DEcvDNor2+l1i30RAihDAJ9FV15m9nljRoDsxCS1xSL+tRf0qACdEcYM
iKUPpB7iMqUcIe9gu/fCRzE=
=MZLH
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




very small main window

2001-05-23 Thread Fengguang Song

Hi,

I just installed the jdk1.3.1 and run one of my program on Redhat 7.1,
But I find my program's GUI main window becomes very small. The program
was run well on Redhat 6.2. Is there any guy know how to solve it? Thanks
a lot for your help?


Fengguang


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Amol Kulkarni

> Hi,
> Following is a code which i use to invoke a JDialog on Red Hat 7.0
> using blackdowns jdk1.2.2. But the Dialog doesn't seem to be visible.
> I see that it is being created at the status bar,but it still doesn't
> show up
> The same code works perfectly well on Windows NT. Can anybody tell me
> the reason behind it.
> Note: The following code is in an applet.
> /*Code Start*/
> JDialog npd=new JDialog(Dialog d,String s);
> npd.show();
> npd.setSize(250,250);
> /*Code End*/
>
> Q)Why there is diference between presentation of applets in windows
> and linux?



Hi all,
Thanks for your responces.
I found the solution for this one. I just shifted functions show and
setSize in the code and got the JDialog visible.
Original code:
/*Code Start*/
JDialog npd=new JDialog(Dialog d,String s);
npd.show();
npd.setSize(250,250);
/*Code End*/
Changed code:
JDialog npd=new JDialog(Dialog d,String s);
npd.setSize(250,250);
npd.show();

Well I cant make out the reason behind this.
Now a real question :Is java 100% platform independant? I know its a
foolish question to ask after you have seen results like this.

For the second question of applets on windows and Red Hat Linux i am
specific about the look and feel of GUI . Is awt,swings applets
behaviour dependant on platforms. Is there any such info available form
blackdown or anyone else.

Thanks and Regards
Amol



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JDialog not visible

2001-05-23 Thread Nathan Meyers

Amol Kulkarni wrote:

> Well I cant make out the reason behind this.
> Now a real question :Is java 100% platform independant? I know its a
> foolish question to ask after you have seen results like this.

The core Java platform is platform-independent, but...

- In any complicated spec, there are always lots of little details that
are not specified and might behave differently on different platforms.

- Bugs happen, both in Java implementations and in the underlying
platform.

- Because Linux and Unix support so many different window managers, it's
been especially difficult to get all the details of window management to
behave consistently everywhere - the problem you reported might be such a
case.

People used to describe Java as "Write Once, Run Anywhere", but you don't
hear that expression used much anymore. A more accurate one is "Write
Once, Test Everywhere." Seeing something work differently in Windows than
in Linux doesn't necessarily mean the Linux JDK is broken.


> For the second question of applets on windows and Red Hat Linux i am
> specific about the look and feel of GUI . Is awt,swings applets
> behaviour dependant on platforms. Is there any such info available form
> blackdown or anyone else.

AWT components look different on different platforms (they are implemented
with platform-specific toolkits), but Swing components should behave the
same everywhere.

Nathan

>
>
> Thanks and Regards
> Amol


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]