Java Swing Component를 이용하여 GUI를 만들려면 다음 사이트 참고!
Component 별로 Example이 잘 정리되어 있음.
Using Swing Components: Examples
Component 별로 Example이 잘 정리되어 있음.

In this blog, there are many things that I did and got or get to know, while I am developing applications. I write the articles to remember in mind and I hope they will be helpful for the visitors who read them.

public enum ValueType
{
Unknown
, Text
, Number
, DateTime
;
}
switch문에서 사용할 때는 차이가 있지만, 위 정의는 다음과 같이 동작하지 않나 싶다.
public class ValueType
{
public final static Unknown = new ValueType();
public final static Text = new ValueType();
public final static Number = new ValueType();
public final static DateTime = new ValueType();
}
public enum ValueType2
{
Unknown("unknown")
, Text("string")
, Real("real")
, DateTime("datetime")
;
private final String _description;
private ValueType(String description)
{
this._description = description;
}
public String getDescription()
{
return this._description;
}
}
public enum ValueType2
{
Unknown
, Text
, Number
, DateTime
;
... (후략) ...
}
public enum ProgramSetting
{
Instance; //< 유일 객체
/// 속성 저장 멤버
private final HashMap<String, String> _properties;
private ProgramSetting()
{
_properties = new private HashMap<String, String>();
}
public String getProperty(String key) { ... }
public void setProperty(String key, String value) { ... }
...
}
...
ProgramSetting.Instance.getProperty(...);
ProgramSetting.Instance.setProperty(...);
...
