Revision 2938
trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiFrame/NewStatusBar.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package com.iver.andami.ui.mdiFrame; |
42 | 42 |
|
43 |
import java.awt.BorderLayout; |
|
43 |
import com.iver.andami.Launcher; |
|
44 |
import com.iver.andami.messages.Messages; |
|
45 |
import com.iver.andami.plugins.config.generate.Label; |
|
46 |
|
|
47 |
import org.apache.log4j.Logger; |
|
48 |
|
|
49 |
import java.awt.Color; |
|
44 | 50 |
import java.awt.Component; |
45 | 51 |
import java.awt.Dimension; |
46 | 52 |
import java.awt.FlowLayout; |
53 |
|
|
47 | 54 |
import java.util.HashMap; |
48 | 55 |
|
49 | 56 |
import javax.swing.BorderFactory; |
... | ... | |
51 | 58 |
import javax.swing.JLabel; |
52 | 59 |
import javax.swing.JPanel; |
53 | 60 |
import javax.swing.JProgressBar; |
61 |
import javax.swing.JSeparator; |
|
54 | 62 |
import javax.swing.border.BevelBorder; |
63 |
import javax.swing.border.Border; |
|
55 | 64 |
|
56 |
import org.apache.log4j.Logger; |
|
57 | 65 |
|
58 |
import com.iver.andami.plugins.config.generate.Label; |
|
59 |
|
|
60 |
|
|
61 | 66 |
/** |
62 | 67 |
*/ |
63 | 68 |
public class NewStatusBar extends JPanel { |
... | ... | |
98 | 103 |
private void initialize() { |
99 | 104 |
lblIcon = new JLabel(); |
100 | 105 |
lblTexto = new JLabel(); |
101 |
init(); |
|
102 |
FlowLayout flowLayout2 = new FlowLayout(FlowLayout.LEFT);
|
|
106 |
|
|
107 |
FlowLayout flowLayout2 = new FlowLayout(); |
|
103 | 108 |
this.setLayout(flowLayout2); |
104 | 109 |
flowLayout2.setHgap(1); |
105 | 110 |
flowLayout2.setVgap(0); |
106 | 111 |
flowLayout2.setAlignment(java.awt.FlowLayout.LEFT); |
107 | 112 |
lblIcon.setText(""); |
108 |
//lblTexto.setText(Messages.getString("StatusBar.Aplicacion_iniciada"));
|
|
113 |
lblTexto.setText(Messages.getString("StatusBar.Aplicacion_iniciada")); |
|
109 | 114 |
this.add(lblIcon, null); |
110 | 115 |
this.add(getProgressBar(), null); |
111 | 116 |
this.add(lblTexto, null); |
... | ... | |
218 | 223 |
estado = INFO; |
219 | 224 |
} |
220 | 225 |
} |
221 |
public void init(){ |
|
222 |
//this.setLayout(new FlowLayout(FlowLayout.LEFT)); |
|
223 |
this.setPreferredSize(new Dimension(0,21)); |
|
224 |
} |
|
226 |
|
|
225 | 227 |
/** |
226 | 228 |
* Establece el texto de la barar de manera permanente. Si se est? |
227 | 229 |
* mostrando texto de forma temporal no se actualiza la interfaz |
Also available in: Unified diff