javax.swing.JInternalFrame.setLayout()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中javax.swing.JInternalFrame.setLayout()方法的一些代码示例,展示了JInternalFrame.setLayout()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JInternalFrame.setLayout()方法的具体详情如下:
包路径:javax.swing.JInternalFrame
类名称:JInternalFrame
方法名:setLayout

JInternalFrame.setLayout介绍

暂无

代码示例

代码示例来源:origin: khuxtable/seaglass

public void installDefaults() {
  // We want to draw rounded corners, so the internal frame must not be
  // opaque. LookAndFeel.installProperty doesn't seem to work here.
  frame.setOpaque(false);
  frame.setBorder(BorderFactory.createEmptyBorder(1, 2, 2, 2));
  frame.setLayout(internalFrameLayout = createLayoutManager());
  updateStyle(frame);
}

代码示例来源:origin: khuxtable/seaglass

protected void uninstallDefaults() {
  SeaGlassContext context = getContext(frame, ENABLED);
  style.uninstallDefaults(context);
  context.dispose();
  style = null;
  if (frame.getLayout() == internalFrameLayout) {
    frame.setLayout(null);
  }
}

代码示例来源:origin: stackoverflow.com

internalFrame.setLayout(new FlowLayout());
internalFrame.add(new JLabel("I am label"));
internalFrame.add(new JButton("Oi button"));

代码示例来源:origin: stackoverflow.com

internal.setLayout(new BorderLayout());
internal.setVisible(true);

代码示例来源:origin: stackoverflow.com

scrollPane.setViewport(new ImageViewport());
scrollPane.setViewportView(table);
ittyFrame.setLayout(new BorderLayout());
ittyFrame.add(scrollPane);

代码示例来源:origin: stackoverflow.com

ittyFrame.setLayout(new BorderLayout());
ittyFrame.add(scrollPane);

代码示例来源:origin: stackoverflow.com

canvas.addMouseWheelListener(new ScaleHandler());
MyInternalFrame iFrame = new MyInternalFrame();
iFrame.setLayout(new BorderLayout());
iFrame.add(canvas, BorderLayout.CENTER);
iFrame.setVisible(true);

代码示例来源:origin: stackoverflow.com

this.pack();
this.setVisible(true);
this.setLayout(new FlowLayout());
this.add(new JLabel("Hi, I'm " + this.getTitle()));
this.addInternalFrameListener(new InternalFrameAdapter() {

代码示例来源:origin: stackoverflow.com

jFrame.setBounds(10,10,500,500);
JInternalFrame frame=new JInternalFrame("test",false,true,false,true);
frame.setLayout(null);
frame.setBounds(100, 100, 200, 200);
frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);

代码示例来源:origin: stackoverflow.com

JButton jb3 = new JButton("X");
inf.setLayout(new GridLayout(2, 2));
jp.add(jl);
jp.add(jb);

代码示例来源:origin: stackoverflow.com

InternalWindows.setSize(500, 300);
InternalWindows.setTitle("New task");
InternalWindows.setLayout(null);
InternalWindows.setClosable(true);
InternalWindows.setLocation(100, 50);

代码示例来源:origin: net.sourceforge.ondex.apps/ovtk2

toolBar.setLayout(new FlowLayout());
toolBar.setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE);
toolBar.add(annotationControls.getAnnotationsToolBar());

代码示例来源:origin: stackoverflow.com

JButton jb3 = new JButton("X");
inf.setLayout(new GridLayout(2, 2));
jp.add(jl);
jp.add(jb);

代码示例来源:origin: stackoverflow.com

jInternalFrame.setLocation(x, y);
jInternalFrame.setLayout(new GridLayout(2, 2));
jInternalFrame.setSize(200, 200);//testing
JButton jb = new JButton("min");

代码示例来源:origin: stackoverflow.com

JButton jb3 = new JButton("close");
jInternalFrame.setLayout(new GridLayout(2, 2));

相关文章

JInternalFrame类方法