Java tutorial
import java.awt.GridLayout; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.plaf.basic.BasicArrowButton; public class Main { public static void main(String[] args) { JPanel panel = new JPanel(new GridLayout(0, 5)); panel.add(new BasicArrowButton(BasicArrowButton.EAST)); panel.add(new BasicArrowButton(BasicArrowButton.NORTH)); panel.add(new BasicArrowButton(BasicArrowButton.SOUTH)); panel.add(new BasicArrowButton(BasicArrowButton.WEST)); JOptionPane.showMessageDialog(null, panel); } }