org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
at org.jvnet.substance.SubstancePanelUI.createUI(SubstancePanelUI.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.swing.UIDefaults.getUI(UIDefaults.java:746)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:69)
at javax.swing.JPanel.(JPanel.java:92)
at javax.swing.JPanel.(JPanel.java:100)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:527)
at javax.swing.JRootPane.(JRootPane.java:347)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
UIDefaults.getUI() failed: createUI() failed for javax.swing.JPanel[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] java.lang.reflect.InvocationTargetException
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:706)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:752)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:69)
at javax.swing.JPanel.(JPanel.java:92)
at javax.swing.JPanel.(JPanel.java:100)
at javax.swing.JRootPane.createGlassPane(JRootPane.java:527)
at javax.swing.JRootPane.(JRootPane.java:347)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
at org.jvnet.substance.SubstancePanelUI.createUI(SubstancePanelUI.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.swing.UIDefaults.getUI(UIDefaults.java:746)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:69)
at javax.swing.JPanel.(JPanel.java:92)
at javax.swing.JPanel.(JPanel.java:100)
at javax.swing.JRootPane.createContentPane(JRootPane.java:502)
at javax.swing.JRootPane.(JRootPane.java:349)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
UIDefaults.getUI() failed: createUI() failed for javax.swing.JPanel[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] java.lang.reflect.InvocationTargetException
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:706)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:752)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:69)
at javax.swing.JPanel.(JPanel.java:92)
at javax.swing.JPanel.(JPanel.java:100)
at javax.swing.JRootPane.createContentPane(JRootPane.java:502)
at javax.swing.JRootPane.(JRootPane.java:349)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
at org.jvnet.substance.SubstanceRootPaneUI.createUI(SubstanceRootPaneUI.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.swing.UIDefaults.getUI(UIDefaults.java:746)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JRootPane.updateUI(JRootPane.java:465)
at javax.swing.JRootPane.(JRootPane.java:352)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
UIDefaults.getUI() failed: createUI() failed for javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=1,maximumSize=,minimumSize=,preferredSize=] java.lang.reflect.InvocationTargetException
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:706)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:752)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JRootPane.updateUI(JRootPane.java:465)
at javax.swing.JRootPane.(JRootPane.java:352)
at javax.swing.JDialog.createRootPane(JDialog.java:617)
at javax.swing.JDialog.dialogInit(JDialog.java:599)
at javax.swing.JDialog.(JDialog.java:266)
at javax.swing.JDialog.(JDialog.java:193)
at javax.swing.JDialog.(JDialog.java:141)
at ECF3.ECFcriptografia.(ECFcriptografia.java:50)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
at org.jvnet.substance.SubstanceLabelUI.createUI(SubstanceLabelUI.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.swing.UIDefaults.getUI(UIDefaults.java:746)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JLabel.updateUI(JLabel.java:256)
at javax.swing.JLabel.(JLabel.java:145)
at javax.swing.JLabel.(JLabel.java:216)
at ECF3.ECFcriptografia.(ECFcriptografia.java:46)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
UIDefaults.getUI() failed: createUI() failed for javax.swing.JLabel[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=,verticalAlignment=CENTER,verticalTextPosition=CENTER] java.lang.reflect.InvocationTargetException
java.lang.Error
at javax.swing.UIDefaults.getUIError(UIDefaults.java:706)
at javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:117)
at javax.swing.UIDefaults.getUI(UIDefaults.java:752)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JLabel.updateUI(JLabel.java:256)
at javax.swing.JLabel.(JLabel.java:145)
at javax.swing.JLabel.(JLabel.java:216)
at ECF3.ECFcriptografia.(ECFcriptografia.java:46)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)
at ECF3.EmissaoCupomFiscal.run(EmissaoCupomFiscal.java:723)
org.jvnet.substance.api.UiThreadingViolationException: Component creation must be done on Event Dispatch Thread
at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentCreationThreadingViolation(SubstanceCoreUtilities.java:2312)
at org.jvnet.substance.SubstanceButtonUI.createUI(SubstanceButtonUI.java:122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:243)
at javax.swing.UIDefaults.getUI(UIDefaults.java:746)
at javax.swing.UIManager.getUI(UIManager.java:1012)
at javax.swing.JButton.updateUI(JButton.java:128)
at javax.swing.AbstractButton.init(AbstractButton.java:2149)
at javax.swing.JButton.(JButton.java:118)
at javax.swing.JButton.(JButton.java:91)
at ECF3.ECFcriptografia.(ECFcriptografia.java:47)
at ECF3.EmissaoCupomFiscal.prepararEmissaoCupom(EmissaoCupomFiscal.java:62)