Made the mote type information for MSPSim based platforms more compact
This commit is contained in:
parent
73cb02fb49
commit
e18cc3b6b9
2 changed files with 24 additions and 67 deletions
|
@ -69,8 +69,6 @@ public class MoteTypeInformation extends VisPlugin {
|
|||
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
|
||||
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED));
|
||||
pack();
|
||||
setPreferredSize(new Dimension(350,500));
|
||||
setSize(new Dimension(350,500));
|
||||
|
||||
mySimulation.addObserver(simObserver = new Observer() {
|
||||
public void update(Observable obs, Object obj) {
|
||||
|
@ -79,7 +77,6 @@ public class MoteTypeInformation extends VisPlugin {
|
|||
new JScrollPane(createPanel(),
|
||||
JScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
|
||||
JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED));
|
||||
setPreferredSize(MoteTypeInformation.this.getSize());
|
||||
pack();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue