/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * ReplHistory.java * * Created on Apr 9, 2009, 9:02:43 PM */ package org.enclojure.ide.repl; /** * * @author ericthor */ public class ReplHistory extends javax.swing.JPanel { /** Creates new form ReplHistory */ public ReplHistory() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ @SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jToolBar1 = new javax.swing.JToolBar(); alphaSortButton = new javax.swing.JButton(); sortTimeButton = new javax.swing.JButton(); jScrollPane = new javax.swing.JScrollPane(); jToolBar1.setRollover(true); alphaSortButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/enclojure/ide/resources/sortAlpha.png"))); // NOI18N alphaSortButton.setToolTipText("Sort Alpha"); alphaSortButton.setFocusable(false); alphaSortButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); alphaSortButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(alphaSortButton); sortTimeButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/enclojure/ide/resources/sortPosition.png"))); // NOI18N sortTimeButton.setToolTipText("Sort time"); sortTimeButton.setFocusable(false); sortTimeButton.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); sortTimeButton.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); jToolBar1.add(sortTimeButton); jScrollPane.addHierarchyListener(new java.awt.event.HierarchyListener() { public void hierarchyChanged(java.awt.event.HierarchyEvent evt) { jScrollPaneHierarchyChanged(evt); } }); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); this.setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE) .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addComponent(jScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 261, Short.MAX_VALUE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)) ); }// </editor-fold>//GEN-END:initComponents private void jScrollPaneHierarchyChanged(java.awt.event.HierarchyEvent evt) {//GEN-FIRST:event_jScrollPaneHierarchyChanged // TODO add your handling code here: }//GEN-LAST:event_jScrollPaneHierarchyChanged // Variables declaration - do not modify//GEN-BEGIN:variables public javax.swing.JButton alphaSortButton; public javax.swing.JScrollPane jScrollPane; public javax.swing.JToolBar jToolBar1; public javax.swing.JButton sortTimeButton; // End of variables declaration//GEN-END:variables }