I want to change the appearance of Frame in Runtime, what
class can be used to do this?
Answer Posted / pradyut
Graphics 2d g;
JFrame f;
g.dispose();
setPreferredSize(new
Dimension(128+r.nextInt(128),128+r.nextInt(128)));
f.pack();
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is java awt and swing?
am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.
Who created the swing?
What are the benefits of swing over awt?
Why do we use swing in java?
What is swing delegation event model in java?
Is swing thread-safe?
What are heavyweight components? What is lightweight component?
Why swings are used in java?
Why swing components are called lightweight components?
Explain the difference between swing and jsf.
How to perform action on button in java swing?
What is the function of internal frame in swing?
What is difference between swing and awt?
What is swing gui in java?