Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Canvas inside Panel in Swing
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Canvas inside Panel in Swing (Read 2184 times)
bgilb
byte
Posts: 21
Canvas inside Panel in Swing
«
on:
May 10, 2010, 03:02:08 am »
I'm trying to build a map editor, and was trying to find an elegant solution to intergrating the Canvas inside Swing. My crappy attempt resulted in failure. Any help on this? I couldn't really find anything in the wiki or forums.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Canvas inside Panel in Swing
«
Reply #1 on:
May 10, 2010, 01:36:51 pm »
What is the exact problem when doing this? In general, you can simply add the canvas like any other component. You just have to remember that it's a heavy weight component and doesn't mix very well with some of swing's light weight components. There should be some information about this topic in the forum too...if the search function wouldn't alyways create epic fails (at least for me), i would link to it...
Edit: Found something, maybe it helps:
http://www.jpct.net/forum2/index.php/topic,459.0.html
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Canvas inside Panel in Swing