JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Desktop
>>
Core GUI APIs
text align in JComboBox
hallo,how to set the text align of JComboBox
[58 byte] By [
the_Orienta
] at [2007-10-3 9:53:22]
««
applet not refreshing right away
»»
Try to Convert Vector to int
# 1
hi!watch http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html and see ListCellRenderer class:)
Aniruddha-Herea
at 2007-7-15 5:11:00 >
# 2
Just write like this (in case you didnt change the renderer of the combobox):((BasicComboBoxRenderer)comboBox.getRenderer()).setHorizontalAlignment(JLabel.RIGHT);to align the text on the right for example
Ksushaa
at 2007-7-15 5:11:00 >
Desktop
Can't Find Main Class
convert my application as windows server
NetBeans vs JRE - the look of my GUI
Overlapping
Determine System free memory (Not memory allocated to JVM)
using ant to define multiple jars in manifest classpath
"Cannot find symbol"
how to use same database connection..... for application forms.
Invocation of this Java Application has caused an InvocationTargetException
PROBLEM : JWS & JNLP Used to Load Application To User System
Core GUI APIs
applet not refreshing right away
how to change size of any Image
JComboBox
Web Browser
Pressing Enter doesnt fire an event to JButton
ImageIcon alignment?
Two Column Box Layout
TableRowSorter and convertRowIndexToModel() Problems
JToolbar and version 1.5.0_09
Problem when running an applet !!!
Desktop New Topic
Can't Find Main Class
JComboBox
ImageIcon alignment?
convert my application as windows server
NetBeans vs JRE - the look of my GUI
Overlapping
Determine System free memory (Not memory allocated to JVM)
using ant to define multiple jars in manifest classpath
Desktop Hot Topic
Web Browser
Pressing Enter doesnt fire an event to JButton
Problem when running an applet !!!
own button look (with a .png file)
firefox style jtabbed pane questions
PROBLEM : JWS & JNLP Used to Load Application To User System
finding source of paint events
JVM crash with JRE1.4.2_13 1.4.2_12
Desktop
Core GUI APIs
Deploying
Runtime Environment
Developing for the Desktop
I18N
Sun Secure Global Desktop Software
Sun Java Desktop System
Sun Ray Software - General Discussion
Mozilla Browser For Solaris
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding