Grapical user interface for nwpc written in java