Revision 2884 trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java

View differences:

MDIFrame.java
66 66
import javax.swing.ImageIcon;
67 67
import javax.swing.JComponent;
68 68
import javax.swing.JFrame;
69
import javax.swing.JLabel;
69 70
import javax.swing.JMenu;
70 71
import javax.swing.JMenuBar;
71 72
import javax.swing.JOptionPane;
......
114 115

  
115 116
	/** DOCUMENT ME! */
116 117
	private NewStatusBar bEstado = null;
118
	private NewStatusBar bEstadoAux = null;
117 119

  
118 120
	/** Asocia los nombres con las barras de herramientas */
119 121
	private HashMap toolBarMap = new HashMap();
......
200 202

  
201 203
		// Se a?ade la barra de estado a la aplicaci?n
202 204
		bEstado = new NewStatusBar();
203
		getContentPane().add(bEstado, BorderLayout.SOUTH);
205
		bEstado.setInfoText(Messages.getString("StatusBar.Aplicacion_iniciada"));
206
		bEstadoAux = new NewStatusBar();
207
		//bEstadoAux.init();
208
		
209
		
210
		
211
		JPanel auxPanel=new JPanel();
212
		auxPanel.setLayout(new BorderLayout());
213
		auxPanel.add(bEstadoAux,BorderLayout.NORTH);
214
		auxPanel.add(bEstado,BorderLayout.SOUTH);
215
		
216
		getContentPane().add(auxPanel, BorderLayout.SOUTH);
204 217

  
205 218
		this.toolBars.addContainerListener(this);
206 219

  
......
958 971
	public NewStatusBar getStatusBar() {
959 972
		return bEstado;
960 973
	}
961
    
974
    public NewStatusBar getStatusBarLabeling(){
975
    	return bEstadoAux;
976
    }
962 977
    /**
963 978
     * You can use this function to select the appropiate
964 979
     * tool inside the toolbars
......
1073 1088
	public void componentResized(ComponentEvent arg0) {
1074 1089
		ajustarToolBar();
1075 1090
		bEstado.setFixedLabelWidth(this.getWidth() * 0.3);
1091
		bEstadoAux.setFixedLabelWidth(this.getWidth() * 0.3);
1076 1092
	}
1077 1093

  
1078 1094
	/**

Also available in: Unified diff