Help: adding a JPanel to a JPanel in the center layout
- From: "Unknown" <unknownerror404@xxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 15:44:14 -0700
Hi all! I'm writting an implementation for a mastermind game. I have a
class that represents all the holes in which the user can click on to guess
the appropriate sequence of pegs. When I add an object(extends JPanel and
overrides the paintcomponent to display images as the holes) to another
JPanel in the BorderLayout.CENTER, it still positions the Panel far to the
left in the center of the root panel. If you have any suggestions, thanks
ahead of time!
B
.
- Follow-Ups:
- Re: Help: adding a JPanel to a JPanel in the center layout
- From: Roedy Green
- Re: Help: adding a JPanel to a JPanel in the center layout
- From: Andrew Thompson
- Re: Help: adding a JPanel to a JPanel in the center layout
- Prev by Date: Re: Good books for a complete beginner!
- Next by Date: Re: Good books for a complete beginner!
- Previous by thread: ANN: Free Online Tutor Classifieds
- Next by thread: Re: Help: adding a JPanel to a JPanel in the center layout
- Index(es):
Relevant Pages
|