Add util for Swing/AWT