Tony Docherty wrote:The method add(String, Component) is obsolete, you should use add(Component, Object). ie:
Hi again!
I changed the code again just as you suggested but the problem remains the same. The items of my panel appear only when I move my mouse over it.
What can cause this effect? I don't have any mouse listeners added in my project...