Search:

Type: Posts; User: bruno88

Search: Search took 0.21 seconds.

  1. Replies
    0
    Views
    1,486

    Change JFrame components problem

    Hello guys,

    I'm programming a little game and tried to create a menu for it. The menu is like this:

    http://javaprogrammingforums.com/images/sp.jpg

    New Game, Load and Exit are JButtons.
    ...
  2. Replies
    4
    Views
    2,718

    Re: How to write above a JPanel

    Hello,

    I decided to use the drawString method from Graphics2D and it did what I want. Anyway thank you very much for your help, that link about layout managers can be very helpfull in future ^^
  3. Replies
    4
    Views
    2,718

    Re: How to write above a JPanel

    Well I'm using a GridBagLayout now and I'm writing the points on a JLabel and finally it wroked ^^ But I have something wrong on my code :s The text appears in center of JPanel instead of the...
  4. Replies
    4
    Views
    2,718

    How to write above a JPanel

    Hey guys!

    I'm working on a little game at the moment and I'm with a problem. I have a JPanel where the game runs and above it in one corner I want to write the total points of the player but I...
Results 1 to 4 of 4