• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 828
  • Last Modified:

Background Color for JPanel

I am having four panel in JTabbedPane.
I want to set different Background Color for each
Panel in JTabbedPane
how to do it?
0
geostp
Asked:
geostp
1 Solution
 
sailwindCommented:
for each of the JTabbedPane, invoke:

setBackground(Color c);

to change the color.


0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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