nextStation.setText("next ->");
nextStation.setIcon(new javax.swing.ImageIcon(getClass().getResource("/jfreerails/client/graphics/toolbar/next.png"))); nextStation.setToolTipText(jfreerails.util.Resources.get("Next Station"));
    private void initComponents() {//GEN-BEGIN:initComponents        java.awt.GridBagConstraints gridBagConstraints;        jLabel1 = new javax.swing.JLabel();        nextStation = new javax.swing.JButton();        previousStation = new javax.swing.JButton();        setLayout(new java.awt.GridBagLayout());        setMinimumSize(new java.awt.Dimension(250, 177));        jLabel1.setFont(new java.awt.Font("Dialog", 0, 10));        jLabel1.setText("<html>\n<h4 align=\"center\">Supply and Demand at stationName</h4>\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n  <tr>\n    <td>&nbsp;</td>\n    <td>Will pay<br>for</td>\n    <td>Supplies<br>(tonnes/yr)</td>\n    <td>Waiting for pickup<br>(tonnes)</td>\n  </tr>\n   <tr>\n    <td>Mail</td>\n    <td>Yes</td>\n    <td>&nbsp;</td>\n    <td>&nbsp;</td>\n  </tr>\n  <tr>\n    <td>Passengers</td>\n    <td>No</td>\n    <td>3</td>\n    <td>2.5</td>\n  </tr>\n \n</table>\n\n</html>");        jLabel1.setVerticalAlignment(javax.swing.SwingConstants.TOP);        jLabel1.setAlignmentY(0.0F);        jLabel1.setVerticalTextPosition(javax.swing.SwingConstants.TOP);        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridwidth = 3;        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.weighty = 1.0;        gridBagConstraints.insets = new java.awt.Insets(8, 8, 4, 8);        add(jLabel1, gridBagConstraints);        nextStation.setText("next ->");        nextStation.setMargin(new java.awt.Insets(0, 0, 0, 0));        nextStation.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                nextStationActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 2;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.insets = new java.awt.Insets(4, 4, 8, 8);        add(nextStation, gridBagConstraints);        previousStation.setText("<- previous");        previousStation.setMargin(new java.awt.Insets(0, 0, 0, 0));        previousStation.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                previousStationActionPerformed(evt);            }        });        gridBagConstraints = new java.awt.GridBagConstraints();        gridBagConstraints.gridx = 0;        gridBagConstraints.gridy = 1;        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;        gridBagConstraints.weightx = 1.0;        gridBagConstraints.insets = new java.awt.Insets(4, 8, 8, 4);        add(previousStation, gridBagConstraints);    }//GEN-END:initComponents