i have no idea how to do Swing stuff properly ...