|
|
|
@ -9,8 +9,6 @@ import com.fr.design.mainframe.FormDesigner;
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by ibm on 2017/7/25. |
|
|
|
@ -47,13 +45,6 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane {
|
|
|
|
|
}; |
|
|
|
|
this.add(basicScrollPane, BorderLayout.CENTER); |
|
|
|
|
this.content = jPanel; |
|
|
|
|
this.content.requestFocusInWindow(); |
|
|
|
|
this.content.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
content.requestFocusInWindow(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initLayout() { |
|
|
|
|