Menu

#3 Patch to allow GraphView demo to fill window

closed-accepted
nobody
None
5
2007-10-21
2006-10-10
No

If you run the GraphView demo and then maximize the frame, the
component containing the graph won't expand, leaving large gaps of
whitespace that could be used for displaying more of the graph.

A single line of code can fix this problem. Just add the following to the
top of GraphView's constructor:

super(new BorderLayout());

Discussion

  • Jeffrey Heer

    Jeffrey Heer - 2007-10-21

    Logged In: YES
    user_id=635506
    Originator: NO

    Added to code.

     
  • Jeffrey Heer

    Jeffrey Heer - 2007-10-21
    • status: open --> closed-accepted
     

Log in to post a comment.