The most effective connections of this kind isolate the application logic from the user interface. For example, the EventHandler for a connection from a JCheckBox to a method that accepts a boolean value can deal with extracting the state of the check box
The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. See Java Language Changes for a summary of up
Weitere Event-Klassen, die sich auf Swing-Komponenten beziehen und nicht durch die aus der AWT-Bibliothek abgedeckt werden, befinden sich im Paket javax.swing.event.Die meisten sind direkt von java.util.EventObject abgeleitet, einige jedoch basieren ebenf
Post a Comment:
Showing 0 Comments: