link antar frame melalui JmenuItem

public class NewJFrame extends javax.swing.JFrame {

 /** Creates new form NewJFrame */
 public NewJFrame() {
//actionnya gk bisa nampilin  NewJFrame1
private void jMenu1ActionPerformed(java.awt.event.ActionEvent evt) {
 NewJFrame1 frame1 = new NewJFrame1();

public static void main(String args[]) {
 java.awt.EventQueue.invokeLater(new Runnable() {

 public void run() {
 new NewJFrame().setVisible(true);
 // Variables declaration - do not modify
 private javax.swing.JMenu jMenu1;
 private javax.swing.JMenu jMenu2;
 private javax.swing.JMenuBar jMenuBar1;
 // End of variables declaration




About classcpp

menyukai hal yang menantang
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s