text in the upper left corner

Discussion in 'Java' started by bob smith, Oct 5, 2012.

  1. bob smith

    bob smith Guest

    So, I'm developing a Swing app on Mac.

    Unfortunately, there's some text in the upper left corner, and I don't know how to change it.


    http://postimage.org/image/wtbjn5bqz/


    Anyone know how to change this?
     
    bob smith, Oct 5, 2012
    #1
    1. Advertising

  2. In article <>,
    bob smith <> wrote:

    > I'm developing a Swing app on Mac.
    >
    > Unfortunately, there's some text in the upper left corner, and I
    > don't know how to change it.
    >
    > http://postimage.org/image/wtbjn5bqz/
    >
    > Anyone know how to change this?


    You can change the name from the command line:

    java -Xdock:name="Some Name" ...

    or by setting the relevant property early in your program:

    System.setProperty(
    "com.apple.mrj.application.apple.menu.about.name",
    "Some Name");

    --
    John B. Matthews
    trashgod at gmail dot com
    <http://sites.google.com/site/drjohnbmatthews>
     
    John B. Matthews, Oct 5, 2012
    #2
    1. Advertising

  3. bob smith

    bob smith Guest

    On Friday, October 5, 2012 5:06:47 PM UTC-5, John B. Matthews wrote:
    > In article <>,
    >
    > bob smith <> wrote:
    >
    >
    >
    > > I'm developing a Swing app on Mac.

    >
    > >

    >
    > > Unfortunately, there's some text in the upper left corner, and I

    >
    > > don't know how to change it.

    >
    > >

    >
    > > http://postimage.org/image/wtbjn5bqz/

    >
    > >

    >
    > > Anyone know how to change this?

    >
    >
    >
    > You can change the name from the command line:
    >
    >
    >
    > java -Xdock:name="Some Name" ...
    >
    >
    >
    > or by setting the relevant property early in your program:
    >
    >
    >
    > System.setProperty(
    >
    > "com.apple.mrj.application.apple.menu.about.name",
    >
    > "Some Name");
    >
    >
    >
    > --
    >
    > John B. Matthews
    >
    > trashgod at gmail dot com
    >
    > <http://sites.google.com/site/drjohnbmatthews>


    Works great. Thanks.
     
    bob smith, Oct 5, 2012
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nik Coughin

    Div in bottom left corner

    Nik Coughin, Feb 19, 2004, in forum: HTML
    Replies:
    1
    Views:
    3,757
    Nik Coughin
    Feb 20, 2004
  2. Bruce Feist
    Replies:
    1
    Views:
    309
    Bruce Feist
    Oct 26, 2006
  3. LaurieRQHR

    objects default to top left corner when adding to templates

    LaurieRQHR, Apr 11, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    142
    LaurieRQHR
    Apr 11, 2007
  4. Replies:
    1
    Views:
    129
  5. BlackHelicopter
    Replies:
    0
    Views:
    528
    BlackHelicopter
    Jan 31, 2013
Loading...

Share This Page