omit UI code related to Swing and AWT for future preparation.