Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2008, 12:59 AM
Member
 
Join Date: Feb 2008
Posts: 1
rossomandop@acm.org is on a distinguished road
Text Animation
Guys:

I have a scroll list that I need to animate with new text. The new text arrives from a seperate thread about every 5 seconds. My problem is the the JList is but one part (i.e., JPanel) of my overall JPanel containing several other panels. However, whe I refresh the JList, my entire Window refreshes or appears to. The result is with each update, my entire display flashes. This is very annoyng. Can anything be doe to restrict the update to the one JPanel? By the way, this code is running on a Linux box.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-05-2008, 04:23 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,193
hardwired is on a distinguished road
Updating the model of the JList should update the list and should not affect its parent container. One thing that might cause/contribute to this behavior could be adding the list to its parent without a size hint or in such a way that its size could change with updates of data. This can be a problem for parent layout managers such as Flowlayout or GridBagLayout. In this case revalidating the list or validating its parent could cause changes in the containment hierarchy.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-30-2008, 02:24 AM
Member
 
Join Date: May 2008
Posts: 2
besnnik is on a distinguished road
HI Guys. I need to do this exercise :

Write a Java 3D program showing two panels and a button. The first panel displays a scene of a rotating 3D text string. When the button is clicked, the image of the 3D scene is captured and the still image is displayed in the second panel

Can anybody help me please
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-30-2008, 02:25 AM
Member
 
Join Date: May 2008
Posts: 2
besnnik is on a distinguished road
Please could anybody write me the code ???:S
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-30-2008, 04:34 AM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 526
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
What have you done so far?
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Animation Delay - Thread problem wererabit Advanced Java 1 04-17-2008 09:41 AM
Using SWT Text Java Tip Java Tips 0 01-10-2008 11:41 AM
GridLayout with animation? tojas AWT / Swing 3 11-12-2007 11:16 PM
map javax.swing.text.Element to javax.swing.text.View elizabeth New To Java 1 07-30-2007 08:02 PM
Animation with Animated GIF JavaBean Java 2D 1 06-07-2007 06:11 PM


All times are GMT +3. The time now is 10:37 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org