Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Application launch must not be called more than once
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchAppl ication(LauncherImpl.java:178)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchAppl ication(LauncherImpl.java:159)
at javafx.graphics/javafx.application.Application.launch(Application. java:227)
at MainWeather$1.actionPerformed(MainWeather.java:23)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(BasicButtonListener.java:270)
at java.desktop/java.awt.Component.processMouseEvent(Component.jav a:6589)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponen t.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:635 4)
at java.desktop/java.awt.Container.processEvent(Container.java:226 1)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.jav a:4966)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.jav a:2319)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:47 98)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4914)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4543)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4484)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.jav a:2305)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772 )
at java.desktop/java.awt.Component.dispatchEvent(Component.java:47 98)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:772)
at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 97)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessI mpl.doIntersectionPrivilege(ProtectionDomain.java: 87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java: 742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThre ad.java:90)