Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   text in the upper left corner (http://www.velocityreviews.com/forums/t953092-text-in-the-upper-left-corner.html)

bob smith 10-05-2012 09:30 PM

text in the upper left corner
 
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?

John B. Matthews 10-05-2012 10:06 PM

Re: text in the upper left corner
 
In article <b50714c4-e5d9-4998-a170-abb6463a825d@googlegroups.com>,
bob smith <bob@coolfone.comze.com> 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.na me",
"Some Name");

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

bob smith 10-05-2012 10:23 PM

Re: text in the upper left corner
 
On Friday, October 5, 2012 5:06:47 PM UTC-5, John B. Matthews wrote:
> In article <b50714c4-e5d9-4998-a170-abb6463a825d@googlegroups.com>,
>
> bob smith <bob@coolfone.comze.com> 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.na me",
>
> "Some Name");
>
>
>
> --
>
> John B. Matthews
>
> trashgod at gmail dot com
>
> <http://sites.google.com/site/drjohnbmatthews>


Works great. Thanks.


All times are GMT. The time now is 03:32 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.