[Bojangles-cvs] cvs: bojangles / DisplayPanel.java
Status: Alpha
Brought to you by:
nehresma
From: nehresma <boj...@li...> - 2002-08-26 13:55:52
|
nehresma Mon Aug 26 06:55:52 2002 EDT Modified files: /bojangles DisplayPanel.java Log: removed dependency of DisplayPanel on the old style Page widget Index: bojangles/DisplayPanel.java diff -u bojangles/DisplayPanel.java:1.1.1.1 bojangles/DisplayPanel.java:1.2 --- bojangles/DisplayPanel.java:1.1.1.1 Sat Aug 3 08:42:35 2002 +++ bojangles/DisplayPanel.java Mon Aug 26 06:55:51 2002 @@ -1,7 +1,5 @@ package bojangles; -import bojangles.widgets.Page; - /* * DisplayPanel.java * @@ -13,31 +11,12 @@ * @author nathan */ public class DisplayPanel extends javax.swing.JLayeredPane { - Page page; - /** Creates new form BeanForm */ public DisplayPanel() { initComponents(); setLayout(null); } - /** 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. - */ - private void initComponents() {//GEN-BEGIN:initComponents - - }//GEN-END:initComponents - - public void addPage(Page page) { - this.page = page; - page.setBounds(10,10,500,400); - add(page, 0); - repaint(); + private void initComponents() { } - - // Variables declaration - do not modify//GEN-BEGIN:variables - // End of variables declaration//GEN-END:variables - } |