mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix testdata accidentially modified during scrollpane refactoring.
This commit is contained in:
+1
-4
@@ -1,6 +1,3 @@
|
||||
import com.intellij.ui.ScrollPaneFactory;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class ComponentCaller extends JComponent{
|
||||
@@ -13,7 +10,7 @@ public class ComponentCaller extends JComponent{
|
||||
|
||||
private void buildUI() {
|
||||
setLayout(new BorderLayout());
|
||||
add(ScrollPaneFactory.createScrollPane((Component)component1));
|
||||
add(new JScrollPane(component1));
|
||||
}
|
||||
|
||||
public void doSomething(){
|
||||
|
||||
+1
-4
@@ -1,6 +1,3 @@
|
||||
import com.intellij.ui.ScrollPaneFactory;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class ComponentCaller extends JComponent{
|
||||
@@ -13,7 +10,7 @@ public class ComponentCaller extends JComponent{
|
||||
|
||||
private void buildUI() {
|
||||
setLayout(new BorderLayout());
|
||||
add(ScrollPaneFactory.createScrollPane((Component)component1));
|
||||
add(new JScrollPane(component1));
|
||||
}
|
||||
|
||||
public void doSomething(){
|
||||
|
||||
Reference in New Issue
Block a user