A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Getting Button names from property file
Joined: Nov 14, 2004
Nov 17, 2004 02:59:00
In my swing application I want to get button names from property file
How I can proceed?
Joined: Sep 13, 2004
Nov 17, 2004 03:55:00
Create a property file like buttonlabels.properties with key values pairs
by following en_Us (locale convetion)
and make a
file to read this file,Study
in util package ,by using this u can iterate over the and can create a hashmap which u can further refere in your View class.
read some locale specific expamples on Net for detail info.
I agree. Here's the link:
subject: Getting Button names from property file
Trouble understanding passing values
data conversion tool implementation
property file dynamic vs static
How does getClassLoader().getResourceAsStream() work?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015