Solved

my button do not appear but when I resize my window the button appears

Posted on 2002-07-23
1
174 Views
Last Modified: 2010-05-18
I am beginner in java(SWING) but I have got a small problem with repaint() or refresh(). When I try to Add a new JButton during execution, my button do not appear but when I resize my window the button appears.  can I execute this refresh manually (howto)?    Thank in advance.    bye
0
Comment
Question by:zoltix
1 Comment
 
LVL 2

Accepted Solution

by:
flumpman earned 50 total points
ID: 7171809
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now