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


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

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

From Daniel Pitts <newsgroup.nospam@virtualinfinity.net>
Newsgroups comp.lang.java.programmer
Subject Re: Help: my Java GUI does not show "Restore" button on linux, but does on PC.
References <e3531995-b7a2-42d9-a2fa-71b581ab3f55@y10g2000vbn.googlegroups.com>
Message-ID <Jq5Pq.1615$nn3.20@newsfe16.iad> (permalink)
Date 2012-01-10 17:17 -0800

Show all headers | View raw


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.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web