Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9616

JFrame stays unusably small in applet

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!news.belwue.de!not-for-mail
From Thomas Richter <thor@math.tu-berlin.de>
Newsgroups comp.lang.java.programmer
Subject JFrame stays unusably small in applet
Date Sat, 05 Nov 2011 22:23:05 +0100
Organization InterNetNews at News.BelWue.DE (Stuttgart, Germany)
Lines 38
Message-ID <j949fr$d0j$1@news.belwue.de> (permalink)
NNTP-Posting-Host vpn-m-8d3a2f06.campus.uni-stuttgart.de
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.belwue.de 1320528187 13331 141.58.47.6 (5 Nov 2011 21:23:07 GMT)
X-Complaints-To news@news.belwue.de
NNTP-Posting-Date Sat, 5 Nov 2011 21:23:07 +0000 (UTC)
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9616

Show key headers only | View raw


Hi folks,

a very strange problem with a program of mine - unfortunately not 
reproducible on my machine, but only on the one of the customer. The 
code is part of a (signed) applet and opens a JFrame. It simply looks as 
follows:

       frame = new JFrame("The Title");
       frame.setLocationRelativeTo(this);
       frame.setSize(800,64);
       frame.setVisible(true);

where "this" is the instance of the JApplet. Now, on my machine(s) this 
works correctly - opens a JFrame over the JApplet of the correct size. 
On the customer's machine, the JFrame remains tiny, so tiny that only 
the tile bar is visible, but nothing inside it. As the code is so 
incredibly simple, I wonder what might have been gone wrong here.

I'm running a Debian Squeeze with firefox 3.5.16 and java 6 update 29, I 
also tested on Windows XP with firefox 3.6.20 and the same java version, 
works absolutely perfect, no problem.

Not so on the customer's machine, which is also an XP (but a UK 
edition), the same version of firefox (3.6.20), and java 6 update 26 (if 
I remember correctly).

I really wonder what is going on here - I'm out of ideas how to debug or 
identify the problem. The JFrame is not touched afterwards at all, it is 
not resized, not reused etc, the above code is really the only one that 
creates and modifies it.

Hope anyone has an idea how to solve this mystery, or at least how to 
identify the cause of the problem.

Is there any specific setting of Java or the firefox I should be aware of?

Greetings,
	Thomas

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

JFrame stays unusably small in applet Thomas Richter <thor@math.tu-berlin.de> - 2011-11-05 22:23 +0100
  Re: JFrame stays unusably small in applet Knute Johnson <nospam@knutejohnson.com> - 2011-11-05 15:20 -0700
  Re: JFrame stays unusably small in applet Roedy Green <see_website@mindprod.com.invalid> - 2011-11-06 03:00 -0800
  Re: JFrame stays unusably small in applet Roedy Green <see_website@mindprod.com.invalid> - 2011-11-06 03:02 -0800
    Re: JFrame stays unusably small in applet Thomas Richter <thor@math.tu-berlin.de> - 2011-11-06 14:22 +0100
      Re: JFrame stays unusably small in applet markspace <-@.> - 2011-11-06 07:13 -0800

csiph-web