Use var-args, autoboxing.
This commit is contained in:
@@ -109,8 +109,7 @@ public class StatusPanel extends JComponent
|
|||||||
remstr += seconds;
|
remstr += seconds;
|
||||||
}
|
}
|
||||||
msg = get(msg);
|
msg = get(msg);
|
||||||
String label = MessageFormat.format(msg, new Object[] {
|
String label = MessageFormat.format(msg, percent, remstr);
|
||||||
new Integer(percent), remstr });
|
|
||||||
_newplab = new Label(label, _ifc.progressText, FONT);
|
_newplab = new Label(label, _ifc.progressText, FONT);
|
||||||
if (_ifc.textShadow != null) {
|
if (_ifc.textShadow != null) {
|
||||||
_newplab.setAlternateColor(_ifc.textShadow);
|
_newplab.setAlternateColor(_ifc.textShadow);
|
||||||
|
|||||||
Reference in New Issue
Block a user