Home > Java > Java – Swing | Awt | SWT

Java – Swing | Awt | SWT

Performance:

Prefer SWING to use. Performance issues and latest. Even if SWING is written on top of Awt. Most other experts advised also that both maybe used by with correct implementations.

Default:

Swing GUI prefered

Button action:
private javax.swing.JButton jButton1;

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {

jTextArea1.setText(“Shamun wt….!”);
JFrame gui = new NewJFrame1();   // Another module
gui.setVisible(true);
}

Advertisements
Categories: Java Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: