Changing App Title (Java)

Discussion in 'Mac Programming' started by dws90, Mar 26, 2008.

  1. macrumors regular

    Joined:
    Jan 16, 2008
    #1
    This is a rather basic question, so forgive me.

    I'm making a simple Chinese Checkers program in Java using Eclipse. I want to make the app's title on the menu bar (right next to the Apple logo) display as "Chinese Checkers".

    When I call the constructor for the JFrame with "Chinese Checkers" as the argument, it changes the title of the app in the center of the app's title bar. The name on the menu, however, remains packageName.className (in this case, "checkPack.Arena"). How do I change that to "Chinese Checkers"?

    Thanks.
     
  2. macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #2
  3. thread starter macrumors regular

    Joined:
    Jan 16, 2008
    #3
    Thanks - 1-Xdock:name="Chinese Checkers"' seems to be what I need.
     

Share This Page