set initial error dialog size
This commit is contained in:
parent
4275ff4a9c
commit
eb3874a1fb
|
@ -24,7 +24,7 @@
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: GUI.java,v 1.117 2009/03/13 14:33:48 fros4943 Exp $
|
* $Id: GUI.java,v 1.118 2009/03/13 15:15:37 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.cooja;
|
package se.sics.cooja;
|
||||||
|
@ -3534,7 +3534,7 @@ public class GUI extends Observable {
|
||||||
|
|
||||||
messageListDialog.getContentPane().add(messageListPanel);
|
messageListDialog.getContentPane().add(messageListPanel);
|
||||||
messageListDialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
|
messageListDialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
|
||||||
messageListDialog.pack();
|
messageListDialog.setSize(1000, 500);
|
||||||
messageListDialog.setLocationRelativeTo(errorDialog);
|
messageListDialog.setLocationRelativeTo(errorDialog);
|
||||||
|
|
||||||
Rectangle maxSize = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
|
Rectangle maxSize = GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds();
|
||||||
|
|
Loading…
Reference in a new issue