本文整理了Java中javax.swing.JTabbedPane.addFocusListener()
方法的一些代码示例,展示了JTabbedPane.addFocusListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JTabbedPane.addFocusListener()
方法的具体详情如下:
包路径:javax.swing.JTabbedPane
类名称:JTabbedPane
方法名:addFocusListener
暂无
代码示例来源:origin: nz.ac.waikato.cms.moa/moa
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jTabbedPane1 = new javax.swing.JTabbedPane();
clusteringSetupTab = new moa.gui.clustertab.ClusteringSetupTab();
clusteringVisualTab = new moa.gui.clustertab.ClusteringVisualTab();
setLayout(new java.awt.BorderLayout());
jTabbedPane1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jTabbedPane1MouseClicked(evt);
}
});
jTabbedPane1.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
jTabbedPane1FocusGained(evt);
}
});
jTabbedPane1.addTab("Setup", clusteringSetupTab);
jTabbedPane1.addTab("Visualization", clusteringVisualTab);
add(jTabbedPane1, java.awt.BorderLayout.CENTER);
}// </editor-fold>//GEN-END:initComponents
代码示例来源:origin: nz.ac.waikato.cms.moa/moa
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jTabbedPane1 = new javax.swing.JTabbedPane();
outlierSetupTab = new moa.gui.outliertab.OutlierSetupTab();
outlierVisualTab = new moa.gui.outliertab.OutlierVisualTab();
setLayout(new java.awt.BorderLayout());
jTabbedPane1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jTabbedPane1MouseClicked(evt);
}
});
jTabbedPane1.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
jTabbedPane1FocusGained(evt);
}
});
jTabbedPane1.addTab("Setup", outlierSetupTab);
jTabbedPane1.addTab("Visualization", outlierVisualTab);
add(jTabbedPane1, java.awt.BorderLayout.CENTER);
}// </editor-fold>//GEN-END:initComponents
代码示例来源:origin: ikkisoft/blazer
StepsPanel.setName(""); // NOI18N
StepsPanel.setPreferredSize(new java.awt.Dimension(593, 490));
StepsPanel.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
StepsPanelFocusGained(evt);
secondStep.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
secondStepFocusGained(evt);
fourthStep.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
fourthStepFocusGained(evt);
fifthStep.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
fifthStepFocusGained(evt);
代码示例来源:origin: UNIVALI-LITE/Portugol-Studio
tabPane.addFocusListener ( focusAdapter );
代码示例来源:origin: triplea-game/triplea
rightHandSidePanel.addFocusListener(focusToMapPanelFocusListener);
smallView.addFocusListener(focusToMapPanelFocusListener);
tabsPanel.addFocusListener(focusToMapPanelFocusListener);
rightHandSidePanel.add(smallView, BorderLayout.NORTH);
tabsPanel.setBorder(null);
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/toniclf
tabPane.addFocusListener(focusListener);
代码示例来源:origin: com.jtattoo/JTattoo
tabPane.addFocusListener(focusListener);
内容来源于网络,如有侵权,请联系作者删除!