Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Simulation in frame only appears when clicking border...

Thread view: 
Kate - 26 Apr 2006 13:46 GMT
Hi I am currently creating a program using  JCSP,

I am using a frame and an active canvas working in parallel and I have
a simulation taking place in the frame. It all works apart from one
thing - the simulation only appears in the frame if you click on the
border of the frame (as if to resize it). I have tried resizing the
frame but this doesnt make any difference.

Any help or ideas would be very much appreciated!!

Kate
Dimitri Ognibene - 26 Apr 2006 16:56 GMT
Sorry,
what is jcsp?
Oliver Wong - 26 Apr 2006 17:51 GMT
> Hi I am currently creating a program using  JCSP,
>
[quoted text clipped - 3 lines]
> border of the frame (as if to resize it). I have tried resizing the
> frame but this doesnt make any difference.

   Do you do all the appropriate stuff, like packing the frame, setting
preferred sizes instead of absolute sizes, using layout managers where
appropriate, etc?

   If you want more specific advice, you'll probably have to include an
SSCCE. To shorten the code, perhaps you can eliminate the JCSP stuff and
just have your "simulation" alternate between drawing a red and blue
rectangle.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.