Revision 2889
trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/MDIFrame.java | ||
---|---|---|
115 | 115 |
|
116 | 116 |
/** DOCUMENT ME! */ |
117 | 117 |
private NewStatusBar bEstado = null; |
118 |
private NewStatusBar bEstadoAux = null; |
|
119 |
|
|
118 |
|
|
120 | 119 |
/** Asocia los nombres con las barras de herramientas */ |
121 | 120 |
private HashMap toolBarMap = new HashMap(); |
122 | 121 |
|
... | ... | |
203 | 202 |
// Se a?ade la barra de estado a la aplicaci?n |
204 | 203 |
bEstado = new NewStatusBar(); |
205 | 204 |
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); |
|
205 |
getContentPane().add(bEstado, BorderLayout.SOUTH); |
|
217 | 206 |
|
218 | 207 |
this.toolBars.addContainerListener(this); |
219 | 208 |
|
... | ... | |
971 | 960 |
public NewStatusBar getStatusBar() { |
972 | 961 |
return bEstado; |
973 | 962 |
} |
974 |
public NewStatusBar getStatusBarLabeling(){ |
|
975 |
return bEstadoAux; |
|
976 |
} |
|
977 |
/** |
|
963 |
/** |
|
978 | 964 |
* You can use this function to select the appropiate |
979 | 965 |
* tool inside the toolbars |
980 | 966 |
*/ |
... | ... | |
1088 | 1074 |
public void componentResized(ComponentEvent arg0) { |
1089 | 1075 |
ajustarToolBar(); |
1090 | 1076 |
bEstado.setFixedLabelWidth(this.getWidth() * 0.3); |
1091 |
bEstadoAux.setFixedLabelWidth(this.getWidth() * 0.3); |
|
1092 | 1077 |
} |
1093 | 1078 |
|
1094 | 1079 |
/** |
Also available in: Unified diff