Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to set text color of JMenu

843806May 24 2008 — edited May 25 2008
setForeground

public void setForeground(Color fg)

Sets the foreground color of this component.

Parameters:
fg - the desired foreground Color
________________________________

setBackground

public void setBackground(Color bg)

Sets the background color of this component.

Parameters:
bg - the desired background Color
________________________________

setTugWhumper

setTugWhumper(TugWhumper tw)

Sets the tugwhumper of this component

Parameters:
tw - the desired tugwhumper
________________________________

manipulateHogSplat

manipulateHogSplat()

Throws:
MalformedPigSplatException - if HogSplat doesn't have an attendant and properly formatted PigSplat proxy.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2008
Added on May 24 2008
5 comments
1,358 views