TabPanel() { tabPane = new JTabbedPane(); this.add(tabPane); tabPane.setBounds(0, 0, 631, 630); tabPane.addTab("会员信息", icon_info, membPane); tabPane.addTab("流水管理", icon_order, busiPane); tabPane.addTab("财务状态", icon_order, finaPane); tabPane.setFont(font); }