Avatar of DonaldHines
DonaldHines

asked on 

JComboBox in JMenu for font selection.

I'm working on an application where the user may want to frequently change fonts.  I would LIKE to simply include a JComboBox dropdown in my JMenu.  Is there any way I can stick a JComboBox into the menubar?   Or will I be forced to use a popup or a seperate item elswhere in the frame.

Thanks,

Donald HInes
Fonts TypographyJava

Avatar of undefined
Last Comment
GrandSchtroumpf
ASKER CERTIFIED SOLUTION
Avatar of GrandSchtroumpf
GrandSchtroumpf

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of DonaldHines
DonaldHines

ASKER

I wanted a JComboBox because it allows the user to simply type in a fontname if they wished instead of scrolling through a long list.  BUT I suppose most users are going to scroll anyway.   I'll either use a submenu or try out the JToolbar.  
Thank you for the help.
:°)
Java
Java

Java is a platform-independent, object-oriented programming language and run-time environment, designed to have as few implementation dependencies as possible such that developers can write one set of code across all platforms using libraries. Most devices will not run Java natively, and require a run-time component to be installed in order to execute a Java program.

102K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo