/** * Create a new ArgumentsPanel with a border and color background * @param label text for label * @param bkg background colour * @param enableUpDown Add up/down buttons * @param standalone is standalone * @param model the table model to use * @param disableButtons Remove all buttons */ public ArgumentsPanel(String label, Color bkg, boolean enableUpDown, boolean standalone, ObjectTableModel model, boolean disableButtons) { tableLabel = new JLabel(label); this.enableUpDown = enableUpDown; this.disableButtons = disableButtons; this.background = bkg; this.standalone = standalone; this.tableModel = model; init(); }