Allow a safe scroll pane to be constructed without its viewport view
(which should be set later via setViewportView()). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1783 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SafeScrollPane.java,v 1.3 2002/07/09 21:13:20 ray Exp $
|
// $Id: SafeScrollPane.java,v 1.4 2002/10/06 20:57:36 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -13,6 +13,10 @@ import javax.swing.JViewport;
|
|||||||
*/
|
*/
|
||||||
public class SafeScrollPane extends JScrollPane
|
public class SafeScrollPane extends JScrollPane
|
||||||
{
|
{
|
||||||
|
public SafeScrollPane ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public SafeScrollPane (Component view)
|
public SafeScrollPane (Component view)
|
||||||
{
|
{
|
||||||
super(view);
|
super(view);
|
||||||
|
|||||||
Reference in New Issue
Block a user