hello all

how to put more than one JLabel in a vertical direction,and right align

by computing the length of each of JLabel.Text

so the appearance like below

Name:
Position:
age:


thank you


denny

hello all

uups
I have tried to make it right align,but (in my first posting)
it changed unintentionally to left align


thank you
denny

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.