CC4J-Explorer


Compact Class is a collection of common functions and classes that can make your code more concise, fast, and precise.
CC4J-Explorer

CC4J-Explorer

Penjelasan method-method:

  1. CCMessage.SHOW_LOG_SEVERE = true;
    mengaktifkan Log Level Severe, mempermudah dalam pembuatan aplikasi.
  2. CCMessage.logp(classNotFoundException);
    setiap catch yang ditangani oleh CCMessage.logp() akan automatis ke log.
  3. CCSwing.centerScreen(frmMain);
    melakukan perhitungan agar window ditampilkan tepat ditengah screen.
  4. CCSwing.showDialog(this, new DlgNew(this, true, selectedFile));
    menampilkan dialog dan menonaktifkan background.
  5. CCFile.open(selectedFile);
    membuka file dengan aplikasi yang defaultnya.
  6. CCMessage.showYesNoQuestion(“Anda yakin akan menghapus ” + selectedFile.getName())
    menampilkan pesan Yes No Question.
  7. CCFile.delete(selectedFile);
    menghapus file.
  8. CCValidator.requestFocusInWindow(txtName);
    meminta focus agar berpindah ke component.
  9. CCMessage.showError(CCMessage.getErrorMessage(), CCMessage.getCauseMessage());
    menampilkan pesan error.
  10. CCFile.copy(sourceFile, selectedFile)
    mengkopi file.
  11. CCFile.rename(selectedFile, new File(selectedFile.getParent(), txtName1.getText()))
    mengganti nama file.

[CC4J-Explorer 12.04.24.rar|CC4J-Explorer src 12.04.24.rar]

  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: