Search Posts

Netbeans : communicate with other JTopComponent in the same module

		TopComponent tc = WindowManager.getDefault().findTopComponent("Window2TopComponent");
		Window2TopComponent window2TopComponent = (Window2TopComponent) tc;
		window2TopComponent.jButton1.setText("hello");

Leave a Reply

Your email address will not be published. Required fields are marked *