[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Custom painting

Is there a way that you can custom paint a component, such as a JPanel, without having to create a class for it?  In other words...can I create an instance of a JPanel inside an applet class and somehow custom paint the JPanel?
0
tblackwe
Asked:
tblackwe
1 Solution
 
heyhey_Commented:
no.

you can use anonymous Inner class, but it's still another class.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now