javax.swing.JToolBar.setBorderPainted()方法的使用及代码示例

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

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

JToolBar.setBorderPainted介绍

暂无

代码示例

代码示例来源:origin: magefree/mage

tbColor.setRollover(true);
tbColor.setToolTipText("Hold the ALT-key while clicking to deselect all other colors or hold the CTRL-key to select only all other colors.");
tbColor.setBorderPainted(false);
tbColor.setName(""); // NOI18N

代码示例来源:origin: protegeproject/protege

public static JToolBar createViewToolBar() {
  JToolBar toolBar = new JToolBar();
  toolBar.setFloatable(false);
  toolBar.setBorderPainted(false);
  return toolBar;
}

代码示例来源:origin: org.protege/protege-editor-core-application

public static JToolBar createViewToolBar() {
  JToolBar toolBar = new JToolBar();
  toolBar.setFloatable(false);
  toolBar.setBorderPainted(false);
  return toolBar;
}

代码示例来源:origin: edu.stanford.protege/org.protege.editor.core.application

public static JToolBar createViewToolBar() {
  JToolBar toolBar = new JToolBar();
  toolBar.setFloatable(false);
  toolBar.setBorderPainted(false);
  return toolBar;
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarRight() {
  $objectMap.put("toolbarRight", toolbarRight = new JToolBar());
  
  toolbarRight.setName("toolbarRight");
  toolbarRight.setBorderPainted(false);
  toolbarRight.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbar() {
  $objectMap.put("toolbar", toolbar = new JToolBar());
  
  toolbar.setName("toolbar");
  toolbar.setBorderPainted(false);
  toolbar.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: org.nuiton.jaxx/jaxx-widgets

protected void createToolbarRight() {
  $objectMap.put("toolbarRight", toolbarRight = new JToolBar());
  
  toolbarRight.setName("toolbarRight");
  toolbarRight.setBorderPainted(false);
  toolbarRight.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-gis

protected void createToolbarLeft() {
  $objectMap.put("toolbarLeft", toolbarLeft = new JToolBar());
  
  toolbarLeft.setName("toolbarLeft");
  toolbarLeft.setBorderPainted(false);
  toolbarLeft.setFloatable(false);
}

代码示例来源:origin: mucommander/mucommander

public static JPanel wrapToolBar(JToolBar toolbar) {
  moreToolbar = new JToolBar();
  moreToolbar.setRollover(true);
  moreToolbar.setFloatable(false);
  moreToolbar.add(new ToolbarMoreButton(toolbar));
  moreToolbar.setBorderPainted(false);

  JPanel panel = new JPanel(new BorderLayout());
  panel.add(toolbar, BorderLayout.CENTER);
  panel.add(moreToolbar, BorderLayout.EAST);

  return panel;
 }
}

代码示例来源:origin: it.tidalwave.netbeans/it-tidalwave-netbeans-swing

@Nonnull
 public static JToolBar createToolBar (final @Nonnull String name, final @Nonnull Lookup lookup)
  {
   final JToolBar toolBar = new JToolBar(name);
   toolBar.setOpaque(false);
   toolBar.setBorderPainted(false);
   toolBar.setFloatable(false);
   ToolBarFromLayer.connect(toolBar, "LocalToolbar/" + name, lookup, false);
   return toolBar;
  }
}

代码示例来源:origin: io.ultreia.java4all.jaxx/jaxx-widgets-number

protected void createRightToolbar() {
  $objectMap.put("rightToolbar", rightToolbar = new JToolBar());
  
  rightToolbar.setName("rightToolbar");
  rightToolbar.setBorderPainted(false);
  rightToolbar.setOpaque(false);
  rightToolbar.setFloatable(false);
}

代码示例来源:origin: edu.stanford.protege/org.protege.editor.core.application

public ViewBar(String bannerText, Color bannerColor) {
  setLayout(new BorderLayout(2, 2));
  viewBanner = new ViewBanner(bannerText, bannerColor);
  add(viewBanner, BorderLayout.NORTH);
  toolBar = new JToolBar();
  add(toolBar, BorderLayout.SOUTH);
  toolBar.setOpaque(false);
  toolBar.setFloatable(false);
  toolBar.setBorderPainted(false);
  toolBar.setBorder(null);
}

相关文章

JToolBar类方法