Michael Carol

Greenhorn
+ Follow
since Aug 19, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Michael Carol

Thank you very much for your help - it works perfect now
11 years ago
I'm sorry it was a typo. I was talking about paint method above.

So when I open my app it looks like this (everything is transparent):



And I must move my mouse cursor above each button to show them.



No labels and panels are available either. However on my other PC with WinXP labels and panels are shown after moving cursor above the button. I really have no idea why this happens :/

Without paint method menu looks fine and app starts ok but when I add paint method it start to be messed up :/
11 years ago
Hello, I have just started learning AWT and Swing so I've done my first application. It works fine except one part. Application draws shapes which user choose by clicking button. The problem is that paint method is covering all the rest. Moreover at the start of the application there is a transparent background and nothing is visible until I move mouse cursor above one of the hidden buttons and click it. Also neither labels nor panels are visible. If you cut this method from code menu is visible and looks like it should:




This is strange because it shouldn't even work at start of the application because flags are set on false. Please take a look at this and give me a hint



11 years ago