Align menu to the right

  • GekkeGwuido

    GekkeGwuido - 2007-03-07


    first of all I want to say that u've developed a very nice project
    I have test it and it is very usefull and easy to comprehend.

    Altough I have a question about it: is it possible to align a menu completely to the right of the JMenuBar? Now all the menu's are floated left, but I want to have a menu that is at the right outmost of the menubar...

    Kind regards

    • Sloan Seaman

      Sloan Seaman - 2007-03-07

      First, to be honest, I haven't used/dealt with this project in over 4 years so I'm going off of what I could figure out from the .xsd.

      Try using the AlignmentX or AlignmentY attributes for the JComponent.

      Good luck!

    • GekkeGwuido

      GekkeGwuido - 2007-03-21


      I've tried this AlignmentX and AlignmentY but nothing happens
      The menu just appears right of the previous menu...
      Any other suggestions or an example or so?

      • Sloan Seaman

        Sloan Seaman - 2007-03-21

        Sorry, but I really can't think of a way to do it.

        I haven't touched the code in so long that I don't even know how to use it.

        I'd suggest just hacking the code to get what you want.  Sorry.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks