|
-
Jan 20th, 2008, 11:43 AM
#1
Thread Starter
Fanatic Member
[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
-
Jan 20th, 2008, 05:05 PM
#2
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)
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jan 20th, 2008, 05:26 PM
#3
Thread Starter
Fanatic Member
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 ?
-
Jan 20th, 2008, 06:00 PM
#4
Thread Starter
Fanatic Member
Re: Swing SetPosition With Code
oK I Get it to Work with SetBound & set Layout to Null
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|