public static void main(String[] args) {
        String bufor = JOptionPane.showInputDialog("Wpisz liczbę:");
        int a = Integer.valueOf(bufor);

        JOptionPane.showMessageDialog(null, "Binarnie: "+binarnie(a));
        JOptionPane.showMessageDialog(null, "Ósemkowo: "+osemkowo(a));
        JOptionPane.showMessageDialog(null, "Szesnastkowo: "+szesnastkowo(a));
    }