I want to create a small drawing program. May is newbie I still quite advanced and I made a small thing to ask. In fact I will wish to have multiple tab to be able to have different areas of designs. So I think I should create a class that would do the setup in my JTabbedPane Listener and then create a new object of my class JTabbedPane Please note however , but I wonder how to make such as when I change the background color , this is done depends other. Thank you in advance.