|
@@ -69,7 +69,7 @@ public class NiftyPreviewPanel extends PanelView {
|
|
toolBar.setPreferredSize(new Dimension(10000, 24));
|
|
toolBar.setPreferredSize(new Dimension(10000, 24));
|
|
toolBar.setMaximumSize(new Dimension(10000, 24));
|
|
toolBar.setMaximumSize(new Dimension(10000, 24));
|
|
toolBar.setFloatable(false);
|
|
toolBar.setFloatable(false);
|
|
- JComboBox comboBox = new JComboBox(new String[]{"640x480", "1024x768", "1280x720"});
|
|
|
|
|
|
+ JComboBox comboBox = new JComboBox(new String[]{"640x480", "800x600", "1024x768", "1280x720"});
|
|
comboBox.addItemListener(new ItemListener() {
|
|
comboBox.addItemListener(new ItemListener() {
|
|
|
|
|
|
public void itemStateChanged(ItemEvent e) {
|
|
public void itemStateChanged(ItemEvent e) {
|
|
@@ -85,7 +85,10 @@ public class NiftyPreviewPanel extends PanelView {
|
|
} else if ("1280x720".equals(string)) {
|
|
} else if ("1280x720".equals(string)) {
|
|
width = 1280;
|
|
width = 1280;
|
|
height = 720;
|
|
height = 720;
|
|
- } else {
|
|
|
|
|
|
+ } else if ("800x600".equals(string)) {
|
|
|
|
+ width = 800;
|
|
|
|
+ height = 600;
|
|
|
|
+ } else{
|
|
width = 640;
|
|
width = 640;
|
|
height = 480;
|
|
height = 480;
|
|
}
|
|
}
|