Java 1.6 includes a javax.swing.GroupLayout, so be specific about the
things we're importing from samskivert. (Our style nowadays is to always explicitely specify imports.) git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@72 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
import com.samskivert.swing.*;
|
||||
import com.samskivert.swing.VGroupLayout;
|
||||
|
||||
import com.threerings.cast.Log;
|
||||
import com.threerings.cast.*;
|
||||
@@ -42,7 +42,7 @@ public class ComponentPanel extends JPanel
|
||||
*/
|
||||
public ComponentPanel (BuilderModel model, String cprefix)
|
||||
{
|
||||
setLayout(new VGroupLayout(GroupLayout.STRETCH));
|
||||
setLayout(new VGroupLayout(VGroupLayout.STRETCH));
|
||||
// set up a border
|
||||
setBorder(BorderFactory.createEtchedBorder());
|
||||
// add the component editors to the panel
|
||||
|
||||
Reference in New Issue
Block a user