Re: Help: adding a JPanel to a JPanel in the center layout
- From: Andrew Thompson <SeeMySites@xxxxxxxxxxx>
- Date: Wed, 31 Aug 2005 04:42:25 GMT
On Tue, 30 Aug 2005 15:44:14 -0700, Unknown wrote:
> 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)
Why not use a GridLayout?
>..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, ..
Tell us exactly what you're doing, in code..
<http://www.physci.org/codes/sscce.jsp>
--
Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
"Give me a whiskey, don't think twice.."
The Angels 'Marseille'
.
- References:
- Help: adding a JPanel to a JPanel in the center layout
- From: Unknown
- 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: Implementing Code Completion in BlueJ
- Previous by thread: Help: adding a JPanel to a JPanel in the center layout
- Next by thread: Re: Help: adding a JPanel to a JPanel in the center layout
- Index(es):
Relevant Pages
|