@SuppressWarnings("static-access") public DatePicker(Observer observer, Date selecteddate, Locale locale) { super(); this.locale = locale; register(observer); screen = new JDialog(); screen.addWindowFocusListener(this); screen.setSize(200, 200); screen.setResizable(false); screen.setModal(true); screen.setUndecorated(true); screen.setDefaultLookAndFeelDecorated(true); screen.getRootPane().setWindowDecorationStyle(JRootPane.FRAME); screen.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); screen.getContentPane().setLayout(new BorderLayout()); // calendar = new GregorianCalendar(); setSelectedDate(selecteddate); Calendar c = calendar; if (selectedDate != null) c = selectedDate; updateScreen(c); screen.getContentPane().add(navPanel, BorderLayout.NORTH); screen.setTitle(getString("program.title", "Date Picker")); }
public static void main(String[] args) throws Exception { System.setProperty("sun.java2d.ddscale", "true"); UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel"); JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); SwingUtilities.invokeLater( new Runnable() { public void run() { frame = new TTBFrame(); GV.setCurrFrame(frame); GV.initGV(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setTitle(GV.MAIN_TTBFRAME_TITLE); frame.setIconImage(frame.getToolkit().getImage(GV.getImageUrl("windowicon.jpg"))); try { final MainPanel mainPanel = new TTBPanel(frame); frame.add(mainPanel, BorderLayout.CENTER); frame.addWindowListener( new WindowAdapter() { public void windowClosing(WindowEvent e) {} }); } catch (Exception e1) { GV.showMessageDialog(null, "初始化应用程序出错。"); e1.printStackTrace(); } frame.pack(); frame.setExtendedState(JFrame.MAXIMIZED_BOTH); frame.setVisible(true); } }); }
/** TODO . */ public static void setSkin() { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); UIManager.put(SHOW_EXTRA_WIDGETS, FALSE); UIManager.put(WATERMARK_VISIBLE, TRUE); UIManager.put(WINDOW_ROUNDED_CORNERS, FALSE); SubstanceLookAndFeel.setSkin(new InsubstantialColorSkin()); }
public static void main(String[] args) { JDialog.setDefaultLookAndFeelDecorated(true); JFrame.setDefaultLookAndFeelDecorated(true); SwingUtilities.invokeLater( new Runnable() { public void run() { SubstanceLookAndFeel.setSkin(new BusinessSkin()); new JitterbugEditor().setVisible(true); } }); }
/** * The main method for <code>this</code> sample. The arguments are ignored. * * @param args Ignored. */ public static void main(String[] args) { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); SwingUtilities.invokeLater( new Runnable() { public void run() { SubstanceLookAndFeel.setSkin(new BusinessBlackSteelSkin()); new RegisterTabCloseChangeListener_SpecificMultipleVetoable().setVisible(true); } }); }
/** * ������ѡ���� * * @param cp ����Ҫ�ı�Ŀؼ� * @param style ���ܽ����±� * @return ���سɹ�������� */ public static boolean setUI(Component cp, int style) { try { switch (style) { case 0: UIManager.setLookAndFeel("com.sun.java.swing.plaf." + "windows.WindowsLookAndFeel"); break; case 1: UIManager.setLookAndFeel("javax.swing.plaf." + "metal.MetalLookAndFeel"); break; case 2: UIManager.setLookAndFeel("com.sun.java.swing.plaf." + "motif.MotifLookAndFeel"); break; case 3: UIManager.setLookAndFeel( "com.sun.java.swing.plaf." + "windows.WindowsClassicLookAndFeel"); break; case 4: UIManager.setLookAndFeel("com.incors.plaf." + "alloy.AlloyLookAndFeel"); break; case 5: UIManager.setLookAndFeel("soft.wes.feels." + "GlassThemeAlloyLookAndFeel"); break; case 6: UIManager.setLookAndFeel("soft.wes.feels." + "AcidThemeAlloyLookAndFeel"); break; case 7: UIManager.setLookAndFeel("soft.wes.feels." + "BedouinThemeAlloyLookAndFeel"); break; case 8: UIManager.setLookAndFeel("soft.wes.feels." + "DefaultThemeAlloyLookAndFeel"); break; case 9: UIManager.put("swing.boldMetal", Boolean.FALSE); // �����öԻ������ JDialog.setDefaultLookAndFeelDecorated(true); // ���������ô������ JFrame.setDefaultLookAndFeelDecorated(true); Toolkit.getDefaultToolkit().setDynamicLayout(true); System.setProperty("sun.awt.noerasebackground", "true"); UIManager.setLookAndFeel(new MetalLookAndFeel()); break; } } catch (Exception ex) { JOptionPane.showMessageDialog(null, "����ʧ��,��ԭ�����ʾ"); return false; } SwingUtilities.updateComponentTreeUI(cp); cp.repaint(); return true; }
@Override public UIDefaults getDefaults() { try { final Method superMethod = BasicLookAndFeel.class.getDeclaredMethod("getDefaults"); superMethod.setAccessible(true); final UIDefaults metalDefaults = (UIDefaults) superMethod.invoke(new MetalLookAndFeel()); final UIDefaults defaults = (UIDefaults) superMethod.invoke(base); if (SystemInfo.isLinux) { if (!Registry.is("darcula.use.native.fonts.on.linux")) { Font font = findFont("DejaVu Sans"); if (font != null) { for (Object key : defaults.keySet()) { if (key instanceof String && ((String) key).endsWith(".font")) { defaults.put(key, new FontUIResource(font.deriveFont(13f))); } } } } else if (Arrays.asList("CN", "JP", "KR", "TW") .contains(Locale.getDefault().getCountry())) { for (Object key : defaults.keySet()) { if (key instanceof String && ((String) key).endsWith(".font")) { final Font font = defaults.getFont(key); if (font != null) { defaults.put(key, new FontUIResource("Dialog", font.getStyle(), font.getSize())); } } } } } LafManagerImpl.initInputMapDefaults(defaults); initIdeaDefaults(defaults); patchStyledEditorKit(defaults); patchComboBox(metalDefaults, defaults); defaults.remove("Spinner.arrowButtonBorder"); defaults.put("Spinner.arrowButtonSize", JBUI.size(16, 5).asUIResource()); MetalLookAndFeel.setCurrentTheme(createMetalTheme()); if (SystemInfo.isWindows && Registry.is("ide.win.frame.decoration")) { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); } if (SystemInfo.isLinux && JBUI.isHiDPI()) { applySystemFonts(defaults); } defaults.put("EditorPane.font", defaults.getFont("TextField.font")); return defaults; } catch (Exception e) { log(e); } return super.getDefaults(); }
public static void setSubstanceLaF(SubstanceLookAndFeel laf) { JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); UIManager.put(SHOW_EXTRA_WIDGETS, FALSE); UIManager.put(WATERMARK_VISIBLE, FALSE); UIManager.put(WINDOW_ROUNDED_CORNERS, FALSE); try { UIManager.setLookAndFeel(laf); } catch (Exception e) { e.printStackTrace(); } }
public static WebExport createAndShowGUI(JmolViewer vwr, HistoryFile historyFile, String wName) { if (vwr == null) runStatus = STAND_ALONE; //Create and set up the window. if (webFrame != null) { webFrame.setVisible(true); webFrame.toFront(); return webExport; } webFrame = new JFrame(GT._("Jmol Web Page Maker")); //Set title bar icon String imageName = "org/openscience/jmol/app/images/icon.png"; URL imageUrl = vwr.getClass().getClassLoader().getResource(imageName); ImageIcon jmolIcon = new ImageIcon(imageUrl); webFrame.setIconImage(jmolIcon.getImage()); windowName = wName; historyFile.repositionWindow(windowName, webFrame, 700, 400, true); if (runStatus == STAND_ALONE) { //Make sure we have nice window decorations. JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); webFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } else { webFrame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); } //Create and set up the content pane. webExport = new WebExport(vwr, historyFile); webExport.setOpaque(true); //content panes must be opaque webFrame.setContentPane(webExport); webFrame.addWindowListener(webExport); //Display the window. webFrame.pack(); webFrame.setVisible(true); if (runStatus == STAND_ALONE) { //LogPanel.Log("Jmol_Web_Page_Maker is running as a standalone application"); } else { //LogPanel.Log("Jmol_Web_Page_Maker is running as a plug-in"); } return webExport; }
public serverdown() { super(); JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel"); } catch (Exception ex) { // System.out.println("Failed loading L&F: "); // System.out.println(ex); } initializeComponent(); // // TODO: Add any constructor code after initializeComponent call // this.setVisible(true); }
/** * Create the GUI and show it. For thread safety, this method should be invoked from the * event-dispatching thread. */ private static void createAndShowGUI() { // Make sure we have nice window decorations. JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); // Create and set up the window. JFrame frame = new JFrame("SwingFileChooserDemo"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); // Create and set up the content pane. JComponent newContentPane = new SwingFileChooserDemo(); newContentPane.setOpaque(true); // content panes must be opaque frame.setContentPane(newContentPane); // Display the window. frame.pack(); frame.setVisible(true); }
public static void main(String[] args) { JFrame f = new TableCombo(); try { UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel"); } catch (ClassNotFoundException ex) { Logger.getLogger(TableCombo.class.getName()).log(Level.SEVERE, null, ex); } catch (InstantiationException ex) { Logger.getLogger(TableCombo.class.getName()).log(Level.SEVERE, null, ex); } catch (IllegalAccessException ex) { Logger.getLogger(TableCombo.class.getName()).log(Level.SEVERE, null, ex); } catch (UnsupportedLookAndFeelException ex) { Logger.getLogger(TableCombo.class.getName()).log(Level.SEVERE, null, ex); } JFrame.setDefaultLookAndFeelDecorated(true); JDialog.setDefaultLookAndFeelDecorated(true); f.pack(); f.setLocationRelativeTo(null); f.setDefaultCloseOperation(EXIT_ON_CLOSE); f.setVisible(true); }
public void setLookAndFeel(LookAndFeelInfo lookAndFeel) { if (lookAndFeel == null) throw new NullPointerException(); if (this.lookAndFeel != lookAndFeel) { try { UIManager.setLookAndFeel(lookAndFeel.getClassName()); JFrame.setDefaultLookAndFeelDecorated( UIManager.getLookAndFeel().getSupportsWindowDecorations()); JDialog.setDefaultLookAndFeelDecorated( UIManager.getLookAndFeel().getSupportsWindowDecorations()); PropertiesManager propertiesManager = PropertiesManager.getInstance(); String name = lookAndFeel.getName(); String className = lookAndFeel.getClassName(); propertiesManager.setProperty("lookandfeel.name", name); propertiesManager.setProperty("lookandfeel.class", className); this.lookAndFeel = lookAndFeel; // TODO: add exception throw state } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (InstantiationException e) { e.printStackTrace(); } catch (IllegalAccessException e) { e.printStackTrace(); } catch (UnsupportedLookAndFeelException e) { e.printStackTrace(); } catch (ClassCastException e) { e.printStackTrace(); } } }
public void executa() { setSize(650, 450); setLocation(200, 200); setTitle(":::Atento:::::::"); JDialog.setDefaultLookAndFeelDecorated(true); // imgIcon = new ImageIcon("usb.jpg"); assim o codigo nao funciona ImageIcon imgIcon = new ImageIcon(getClass().getResource("font.png")); ImageIcon imgAbaScript = new ImageIcon(getClass().getResource("script.png")); ImageIcon imgAbaTabulacao = new ImageIcon(getClass().getResource("page_copy.png")); ImageIcon imgAbaLembrete = new ImageIcon(getClass().getResource("report_edit.png")); ImageIcon imgBotaoIr = new ImageIcon(getClass().getResource("tick.png")); ImageIcon imgBotaoAbrir = new ImageIcon(getClass().getResource("folder_go.png")); ImageIcon imgBotaoSalvar = new ImageIcon(getClass().getResource("disk.png")); ImageIcon imgBotaoLimpar = new ImageIcon(getClass().getResource("brush.png")); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setIconImage(imgIcon.getImage()); setResizable(false); pnlBotoesScript = new JPanel(); pnlBotoesScript.add(btnCriticidadeAlta = new JButton("Prioridade Alta")); btnCriticidadeAlta.setToolTipText("Para chamados de alta criticidade"); btnCriticidadeAlta.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { String texto = "Inicio:\nImpacto:\nPas logadas:\nPas afetadas:\nContato:"; Acao chamadoAlto = new Acao(); chamadoAlto.copiaInformacao(texto); } }); pnlBotoesScript.add(btnLoginNT = new JButton("LoginNT")); btnLoginNT.setToolTipText("Para chamados de Reset LoginNT"); btnLoginNT.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent e) { String textoResetNt = "O Reset de para loginNT foi realizado com sucesso, a nova senha é " + "atento@2011, que deve ser alterada no primeiro logon. " + "A senha deve ter no mínimo 8 caracteres, dentre os caracteres " + "é obrigatório ter letras, números e caracteres especiais como por Ex: @ ! ?. " + "OBS: A senha não pode ser a mesma nos últimos 12 meses."; Acao resetDeSenha = new Acao(); resetDeSenha.copiaInformacao(textoResetNt); } }); pnlBotoesScript.add(btnLoginCMS = new JButton("LoginCMS")); btnLoginCMS.setToolTipText("Para chamados de Reset LoginCMS"); btnLoginCMS.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent e) { String textoResetCMS = "O reset de login CMS foi realizado com sucesso.\nOBS: Não há senha,\nO sistema solicitara ao usuario cadastrar uma nova senha no primeiro acesso."; Acao loginCMS = new Acao(); loginCMS.copiaInformacao(textoResetCMS); } }); pnlLembrete = new JPanel(new BorderLayout()); pnlLembrete.add( barraDeRolagem = new JScrollPane( text = new JTextArea(), JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS), BorderLayout.CENTER); text.setEditable(true); text.setBackground(Color.white); pnlBotoesLembrete = new JPanel(new FlowLayout()); pnlBotoesLembrete.add(btnAbrir = new JButton(imgBotaoAbrir)); btnAbrir.setToolTipText("Abrir Alt+A"); btnAbrir.setMnemonic('a'); btnAbrir.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { ManipulaArquivo manipulaArquivoAbrir = new ManipulaArquivo(); try { manipulaArquivoAbrir.abriArquivo(text); } catch (IOException e) { JOptionPane.showConfirmDialog(null, "Não é possivel abrir o arquivo"); e.printStackTrace(); } } }); pnlBotoesLembrete.add(btnSalvar = new JButton(imgBotaoSalvar)); btnSalvar.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent arg0) { ManipulaArquivo manipulaArquivoSalva = new ManipulaArquivo(); String conteudoDoTextArea = text.getText(); try { manipulaArquivoSalva.salvaArquivo(conteudoDoTextArea); } catch (IOException e) { JOptionPane.showConfirmDialog( null, "Não é possivel salvar o arquivo, tente novamente"); e.printStackTrace(); } } }); btnSalvar.setToolTipText("Salvar Alt+S"); btnSalvar.setMnemonic('s'); pnlLembrete.add(pnlBotoesLembrete, BorderLayout.SOUTH); pnlBotoesLembrete.add(btnLimpar = new JButton(imgBotaoLimpar)); btnLimpar.setToolTipText("Limpa tela Alt+L"); btnLimpar.setMnemonic('l'); btnLimpar.addActionListener( new ActionListener() { @Override public void actionPerformed(ActionEvent e) { text.setText(""); } }); pnlTabulacao = new JPanel(new BorderLayout()); pnlTabulacao.setBackground(getBackground()); pnlBotaoTabulacaoLista = new JPanel(new FlowLayout(FlowLayout.LEFT)); pnlBotaoTabulacaoLista.add(listaDeTabulacao = new JComboBox(tabulacoes)); listaDeTabulacao.setMaximumRowCount(15); pnlBotaoTabulacaoLista.add(btnIr = new JButton(imgBotaoIr)); btnIr.setToolTipText("Pressione para que as informações sejam copiadas"); pnlTabulacao.add(pnlBotaoTabulacaoLista, BorderLayout.NORTH); pnlBotaoTabulacao = new JPanel(new FlowLayout()); pnlBotaoTabulacao.add(btnAbertura = new JButton("Descrição do chamado")); pnlBotaoTabulacao.add(btnFechamento = new JButton("Fechamento de chamado")); pnlTabulacao.add(pnlBotaoTabulacao, BorderLayout.SOUTH); String chamadoIntranetAbertura = "Usuario solicitou a abertura de chamado para (Descreva o chamado)"; String chamadoIntranetFechamento = "Orientado o usuario para abrir o chamado pela intranet atraves do filtro (Descreva os filtros)."; String cobrancaAbertura = "Usuario entrou em contato para a cobrança do chamado(Numero do chamado)."; String cobrancaChamadosFechamento = "Usuario orientado a efetuar a cobrança do chamado pelo Service Desk ."; String consultaChamadosAbertura = "Usuario entrou em contato para a consulta do chamado(Numero do chamado)."; String consultaChamadosFechamento = "Usuario orientado a efetuar a consulta do chamado pelo Service Desk ."; String correcaoChamadoAbertura = "Usuario entrou em contato para corrigir a descrição do chamado(Numero do chamado) ."; String correcaoChamadoFechamento = "Efetuado a correção do chamado pelo Service Desk"; String duvidasCodeAbertura = "Usuario entrou em contato devido a(Duvida que o mesmo tem sobre o Authorization Code)."; String duvidasCodeFechamento = "Orientado o usuario para (Orientação sobre a duvida no Authorrization Code)."; String duvidasTimeSheetAbertura = "Usuario entrou em contato devido a(Duvida que o mesmo tem sobre o TimeSheet) ."; String duvidasTimeSheetFechamento = "Orientado o usuario para (Orientação sobre a duvida no TimeSheet)."; String erroDeskAbertura = "Ligação indevida para a opção (número da Opção ) do Menu."; String erroDeskFechamento = "Transferido usuario para o Menu do Service Desk"; String informacaoDiversaAbertura = "Usuario solicitou informações sobre(Descrever o tipo de informação) ."; String informacaoDiversaFechamento = "Usuario foi orientado para (Descrever a informação passada)."; String ligacaoAbertura = "O cliente (Nome da empresa) entrou em contato querendo informações sobre o status da indisponibilidade do aplicativo (Nome do aplicativo)."; String ligacaoFechamento = "Passada a ligação para o Back Office HD1 para verifificação \nVerificação feita junto a operação."; String ligacaoTecnicaAbertura = "O analista (Nome do analista) entrou em contato para [( voltar o chamado (numero do chamado) para o cliente) ou ((para falar com o Back office) "; String ligacaoTecncaFechamento = "Informado o analista que o chamado será aberto no cliente \nPassado o chamado/ligação para o back office."; String ligacaoMudaAbertura = "A ligação estava muda. "; String ligacaoMudaFechamento = "Devido ao problema a ligação foi encerrada"; String normalizadoLigacaoAbertura = "Usuario entrou em contato devido(Descreva o problema)."; String normalizadoLigacaoFechamento = "Conforme informado pelo usuario, o problema normalizou durante o atendimento."; String problemaDeskAbertura = "Usuario informa que não consegue acessar o Service Desk devido(Descreva o problema)."; String problemaDeskFechamento = "(Descrever a ação tomada para resolver o problema) e o usuario já consegue acessar o Service Desk."; String quedaLigacaoAbertura = "Houve queda de ligação durante o atendimento."; String quedaLigacaoFechamento = "Queda de ligações"; String reaberturaChamadoAbertura = "Usuario entrou em contato para reabrir o chamado (Numero do chamado). devido a (Motivo da Reabertura)."; String reaberturaChamadoFechamento = "Reaberto o chamado conforme solicitado pelo usuario."; String cancelamentoChamadoAbertura = "Usuario solicita o cancelamento do chamado (Numero do chamado) devido a (Motivo do cancelamento)."; String cancelametoChamadoFechamento = "Cancelado o chamado conforme solicitado pelo usuario ."; Acao referenciaAcao = new Acao(); referenciaAcao.executaAcaoArray0( btnIr, listaDeTabulacao, tabulacoes, null, null, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray1( btnIr, listaDeTabulacao, tabulacoes, chamadoIntranetAbertura, chamadoIntranetFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray2( btnIr, listaDeTabulacao, tabulacoes, cobrancaAbertura, cobrancaChamadosFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray3( btnIr, listaDeTabulacao, tabulacoes, consultaChamadosAbertura, consultaChamadosFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray4( btnIr, listaDeTabulacao, tabulacoes, correcaoChamadoAbertura, correcaoChamadoFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray5( btnIr, listaDeTabulacao, tabulacoes, duvidasCodeAbertura, duvidasCodeFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray6( btnIr, listaDeTabulacao, tabulacoes, duvidasTimeSheetAbertura, duvidasTimeSheetFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray7( btnIr, listaDeTabulacao, tabulacoes, erroDeskAbertura, erroDeskFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray8( btnIr, listaDeTabulacao, tabulacoes, informacaoDiversaAbertura, informacaoDiversaFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray9( btnIr, listaDeTabulacao, tabulacoes, ligacaoAbertura, ligacaoFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray10( btnIr, listaDeTabulacao, tabulacoes, ligacaoTecnicaAbertura, ligacaoTecncaFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray11( btnIr, listaDeTabulacao, tabulacoes, ligacaoMudaAbertura, ligacaoMudaFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray12( btnIr, listaDeTabulacao, tabulacoes, normalizadoLigacaoAbertura, normalizadoLigacaoFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray13( btnIr, listaDeTabulacao, tabulacoes, problemaDeskAbertura, problemaDeskFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray14( btnIr, listaDeTabulacao, tabulacoes, quedaLigacaoAbertura, quedaLigacaoFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray15( btnIr, listaDeTabulacao, tabulacoes, reaberturaChamadoAbertura, reaberturaChamadoFechamento, btnAbertura, btnFechamento); referenciaAcao.executaAcaoArray16( btnIr, listaDeTabulacao, tabulacoes, cancelamentoChamadoAbertura, cancelametoChamadoFechamento, btnAbertura, btnFechamento); tabs = new JTabbedPane(JTabbedPane.TOP); tabs.addTab("Script", imgAbaScript, pnlBotoesScript); tabs.addTab("Lembrete", imgAbaLembrete, pnlLembrete); tabs.addTab("Tabulação", imgAbaTabulacao, pnlTabulacao); getContentPane().add(tabs); setVisible(true); }