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


Groups > comp.lang.java.programmer > #11199 > unrolled thread

Help: my Java GUI does not show "Restore" button on linux, but does on PC.

Started bywww <xsli2@yahoo.com>
First post2012-01-10 16:35 -0800
Last post2012-01-11 11:18 -0500
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Help: my Java GUI does not show "Restore" button on linux, but does on PC. www <xsli2@yahoo.com> - 2012-01-10 16:35 -0800
    Re: Help: my Java GUI does not show "Restore" button on linux, but does on PC. Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-10 17:17 -0800
    Re: Help: my Java GUI does not show "Restore" button on linux, but does on PC. David Lamb <dalamb@cs.queensu.ca> - 2012-01-11 11:18 -0500

#11199 — Help: my Java GUI does not show "Restore" button on linux, but does on PC.

Fromwww <xsli2@yahoo.com>
Date2012-01-10 16:35 -0800
SubjectHelp: my Java GUI does not show "Restore" button on linux, but does on PC.
Message-ID<e3531995-b7a2-42d9-a2fa-71b581ab3f55@y10g2000vbn.googlegroups.com>
Dear All:

The Java GUI program I am working on is a subclass of JFrame. One
thing annoying is that it displays slightly different on Linux and on
Microsoft Operating Systems(PC):

running on PC, the GUI is opened in maximized state by default,
covering the whole desktop and there are three buttons on the right
top corner: Minimize, Restore and Close button

However, running on Linux, the GUI is not in maximized state by
default, covering part of monitor only. And there are only two buttons
at the top right corners: Minimize and Close button

I am curious what causes this problem and how to solve it. Thank you
very much.

[toc] | [next] | [standalone]


#11200

FromDaniel Pitts <newsgroup.nospam@virtualinfinity.net>
Date2012-01-10 17:17 -0800
Message-ID<Jq5Pq.1615$nn3.20@newsfe16.iad>
In reply to#11199
On 1/10/12 4:35 PM, www wrote:
> Dear All:
>
> The Java GUI program I am working on is a subclass of JFrame. One
> thing annoying is that it displays slightly different on Linux and on
> Microsoft Operating Systems(PC):
>
> running on PC, the GUI is opened in maximized state by default,
> covering the whole desktop and there are three buttons on the right
> top corner: Minimize, Restore and Close button
>
> However, running on Linux, the GUI is not in maximized state by
> default, covering part of monitor only. And there are only two buttons
> at the top right corners: Minimize and Close button
>
> I am curious what causes this problem and how to solve it. Thank you
> very much.
The problem is in the code you haven't shown us.  Please post an SSCCE 
that can demonstrate the problem.

Also, since many of use don't have access to Linux and/or MS machines, 
screenshots would be a good thing to attach.

[toc] | [prev] | [next] | [standalone]


#11230

FromDavid Lamb <dalamb@cs.queensu.ca>
Date2012-01-11 11:18 -0500
Message-ID<DDiPq.29111$d52.1157@newsfe22.iad>
In reply to#11199
On 10/01/2012 7:35 PM, www wrote:
> Dear All:
>
> The Java GUI program I am working on is a subclass of JFrame. One
> thing annoying is that it displays slightly different on Linux and on
> Microsoft Operating Systems(PC):

Are you sure that isn't a feature of the operating system or window 
manager, instead of Java?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web