void (String[] args) { final JFrame frame = new JFrame("Test"); frame.setSize(300, 300); frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); final MultiColumnList list = new MultiColumnList("1", 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13); list.setFixedColumnsMode(5); frame.getContentPane().add(list); frame.setVisible(true); }