Results 1 to 3 of 3

Thread: Align left

  1. #1
    Join Date
    Aug 2009
    Posts
    21
    Rep Power
    0

    Post Align left

    i am using linux os

    I want the JFrame title to be left when it opens at runtime
    can u give any idea.
    solutions are appreciated
    :) javadeveloper

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    That is handled by the OS. You can try to find it in the LAF and writing your own or you could draw the frame border yourself, good luck with that:

    Java Code:
    frame.setUndecorated(true);
    My Hobby Project: LegacyClone

  3. #3
    Steve11235's Avatar
    Steve11235 is offline Senior Member
    Join Date
    Dec 2008
    Posts
    1,046
    Rep Power
    7

    Default

    1111 is correct. The window title is handled by the OS. What he is suggesting is that you suppress the normal title and create your own. That's quite doable, but you will have to create your own controls, and your window won't look the same as other applications.

Similar Threads

  1. How to align the output on console?
    By sfe23 in forum New To Java
    Replies: 5
    Last Post: 03-30-2009, 03:28 AM
  2. Right Align columns in JTable
    By Laura Warren in forum New To Java
    Replies: 2
    Last Post: 12-18-2008, 09:01 PM
  3. Any android developers left?
    By cbyte in forum Jobs Offered
    Replies: 0
    Last Post: 09-25-2008, 10:02 AM
  4. menu in top left always
    By sschwinghammer in forum New To Java
    Replies: 2
    Last Post: 02-06-2008, 02:39 PM
  5. JTextArea - text align
    By bradder in forum AWT / Swing
    Replies: 1
    Last Post: 11-29-2007, 07:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •