Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
|
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2005, 08:57 PM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default JLabel "repaints" one step behind...

Hi All,

I am moving a JLabel from "point a" to "point b".
and it does move to "point b"
when I want it to.

BUT

I have to minimize then maximize the screen to see the changes.
I have tried to repaint the panel the label is in after the move
but this doesn't do it.

Any help you be greatly appreciated,

Ksculland
 
Old May 20th, 2005, 12:09 PM
Authorized User
 
Join Date: Jul 2003
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to merediths
Default



 after you move it call validate() to re-render the winodw; setting a component's position properties doesn't cause it to be redrawn.






Similar Threads
Thread Thread Starter Forum Replies Last Post
AjaxMAIL Step by Step waffa BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 September 25th, 2006 02:12 PM
How detailed are the step-by-step littleccguy BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 May 18th, 2006 03:45 PM
We Based Database Step By step desireemm SQL Language 1 October 15th, 2005 08:15 PM
JLabel "repaints" one step behind... ksculland JSP Basics 0 March 1st, 2005 06:21 PM
Step by step installation peter_budo Beginning PHP 0 August 31st, 2004 12:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.