[virtualcommons-svn] SF.net SVN: virtualcommons:[356] irrigation/trunk/src/main/java/edu/asu/ comm
Status: Beta
Brought to you by:
alllee
From: <al...@us...> - 2009-11-09 15:57:01
|
Revision: 356 http://virtualcommons.svn.sourceforge.net/virtualcommons/?rev=356&view=rev Author: alllee Date: 2009-11-09 15:56:48 +0000 (Mon, 09 Nov 2009) Log Message: ----------- dead code elimination Modified Paths: -------------- irrigation/trunk/src/main/java/edu/asu/commons/irrigation/client/IrrigationGamePanel.java Modified: irrigation/trunk/src/main/java/edu/asu/commons/irrigation/client/IrrigationGamePanel.java =================================================================== --- irrigation/trunk/src/main/java/edu/asu/commons/irrigation/client/IrrigationGamePanel.java 2009-11-07 22:58:44 UTC (rev 355) +++ irrigation/trunk/src/main/java/edu/asu/commons/irrigation/client/IrrigationGamePanel.java 2009-11-09 15:56:48 UTC (rev 356) @@ -44,8 +44,6 @@ //this contains the CanalPanel private JPanel centerPanel; - private ScoreBoxPanel scoreBoxPanel; - private IrrigationClient client; // private Dimension screenSize; @@ -292,54 +290,8 @@ return panel; } -// private IrrigationGameWindow getIrrigationGameWindow() { -// if(irrigationGameWindow == null) { -// irrigationGameWindow = new IrrigationGameWindow(screenSize,client,this); -// } -// return irrigationGameWindow; -// } - -// /** -// * This method initializes jPanel1 -// * -// * @return javax.swing.JPanel -// */ -// private JPanel getJPanelUpStreamWindow() { -// if (jPanelUpStreamWindow == null) { -// jPanelUpStreamWindow = new JPanel(); -// jPanelUpStreamWindow.setLayout(null); -// jPanelUpStreamWindow.setBackground(new Color(186, 226, 237)); -// jPanelUpStreamWindow.setBounds(new Rectangle(13, 225+100+50, 530, 326)); -// jPanelUpStreamWindow.add(getIrrigationGameWindow(), null); -// } -// return jPanelUpStreamWindow; -// } -// /** -// * This method initializes jPanel3 -// * -// * @return javax.swing.JPanel -// */ -// private JPanel getJPanelDownStreamWindow() { -// if (jPanelDownStreamWindow == null) { -// jPanelDownStreamWindow = new JPanel(); -// jPanelDownStreamWindow.setLayout(null); -// jPanelDownStreamWindow.setBackground(new Color(186, 226, 237)); -// jPanelDownStreamWindow.setBounds(new Rectangle(582, 225 + 100+50, 530, 326)); -// jPanelDownStreamWindow.add(getScoreBoxPanel(),null); -// } -// return jPanelDownStreamWindow; -// } - - private ScoreBoxPanel getScoreBoxPanel() { - if(scoreBoxPanel == null){ - scoreBoxPanel = new ScoreBoxPanel(); - } - return scoreBoxPanel; - } - - /** - * This method initializes TimeRemainingjProgressBar + * The time left progress bar. * * @return javax.swing.JProgressBar */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |