[RESOLVED] Swing SetPosition With Code
Hi ,
I was Using Awt for a time , I was Using a Class That keep me Moving Composant Manually With .move, i can place it manually in Frame
But now i Want to use Swing but problem seem that This class dont work with it
i cant get element dsplayed in JFrame
I have add a FlowLayout but I get Element In The same line
What i want is moving element manually like with awt
with .move or setLocation ..
Thanks
Re: Swing SetPosition With Code
Use the either the GropuLayout or set the Layout to null so you can place you're controls anywhere. But this would cause some cross-platform compatibility issues (I mean using null)
Re: Swing SetPosition With Code
I have Set Layout to null but cant seem To see All My Elements only 1
How do you move
with .move or SetLocation ?
Re: Swing SetPosition With Code
oK I Get it to Work with SetBound & set Layout to Null