Page 8 of 9 FirstFirst ... 456789 LastLast
Results 106 to 120 of 133
http://idgs.in/80433
  1. #106
    koker123's Avatar
    Join Date
    Jan 2007
    Location
    Somewhere on Earth
    Posts
    838
    Points
    993.90
    Thanks: 1 / 2 / 2

    Default

    dugaan gw nama class ama filenya beda ?
    betul gak ?
    ato codingnya ya ?
    soalnya cant read..
    hmm...

    edit:
    setelah liat kayanya salah directory itu..
    soalnya dirnya d my document..
    ngeliat dari screenshootnya kayaknya codingnya d taro desktop..
    coba d cd desktop dulu d command promptnya sebelum javac klo emang d taro d desktop

    edit lagi:
    klo mau coding java mending pake netbeans aja..
    enak gampang ada error checkernya, trs kaya string int ato command gitu d beda2in warnanya biar lebih gampang d baca, gak kaya klo pake notepad..
    lebih rapih buat ngoding maksud gw indentnya soalnya netbeans ada auto indentnya..
    trs klo lo nulis command gitu dia bakal keluar kaya pilihan yg cocok dengan command tsb..
    trs klo mau compile gak usah susah buka command prompt javac dulu baru d java..
    tinggal klik tombol runnya beres, nanti netbeansnya nge compile + run coding lu..
    Last edited by koker123; 01-10-09 at 16:21.

  2. Hot Ad
  3. #107
    trogdor's Avatar
    Join Date
    Nov 2006
    Location
    Lake Tit-i-Caca
    Posts
    434
    Points
    506.90
    Thanks: 0 / 0 / 0

    Default

    Quote Originally Posted by koker123 View Post
    edit lagi:
    klo mau coding java mending pake netbeans aja..
    enak gampang ada error checkernya, trs kaya string int ato command gitu d beda2in warnanya biar lebih gampang d baca, gak kaya klo pake notepad..
    lebih rapih buat ngoding maksud gw indentnya soalnya netbeans ada auto indentnya..
    trs klo lo nulis command gitu dia bakal keluar kaya pilihan yg cocok dengan command tsb..
    trs klo mau compile gak usah susah buka command prompt javac dulu baru d java..
    tinggal klik tombol runnya beres, nanti netbeansnya nge compile + run coding lu..
    Kalo masalah editor, itu tergantung orangnya sih.

    Aku sendiri prefer Eclipse karena udah kebiasaan, terakhir nyobain Netbeans sekitar 3-4 tahun yang lalu dan waktu itu masih ... hmmm ... relatif jelek dibandingkan Eclipse. Aku juga pake Eclipse buat bahasa lain (PHP, Perl, Python). Dan kadang kalo cuma mau ngubah dikit-dikit, asal udah ada ant built filenya sering juga pake vi.

    Sekarang kebetulan lagi ngerjain aplikasi buat BlackBerry, jadinya pake JDE, soalnya udah ada signing toolsnya disana.
    DISCLAIMER
    By reading my post, you agree to this disclaimer regardless of anything. You also agree that my views and opinions are always right and you are always wrong. This disclaimer supersedes anything, even if your whatever says it supersedes mine, mine still supersedes yours. Any complain should be sent to trogdor[at]rekrfeht[dot]com which does not exist. Even if it does, I still will not read your mail. Instead, it will be automatically redirected to /dev/null.


    And... following the recent trend:
    http://www.speedtest.net/result/342496256.png

  4. #108

    Join Date
    May 2008
    Location
    /proc/sys/kernel/randomize_va_space
    Posts
    875
    Points
    1,326.90
    Thanks: 0 / 13 / 8

    Default

    gw setuju ma yg diatas, editor ma gimana sikon, klo gw sruh ngoding di linux yg ga install x windows ya pake vi aja pusing2 relain mpe install x-windows demi sebuah editor bagus , yg pasti editor jangan jadi halangan pada saat ngoding, editor yg paling minim pun harus tetep bisa kerja smile:

  5. #109
    zmile's Avatar
    Join Date
    Sep 2007
    Posts
    209
    Points
    744.11
    Thanks: 13 / 1 / 1

    Default

    dah bahas ampe GUI belum???

  6. #110
    renshin's Avatar
    Join Date
    Nov 2009
    Posts
    428
    Points
    495.20
    Thanks: 0 / 8 / 8

    Default

    GUI JAVA ?? ayo bahas donk.. gw masih bingung...

  7. #111

    Join Date
    May 2007
    Posts
    10
    Points
    15.40
    Thanks: 1 / 0 / 0

    Default

    kk batok mau tanya sedikit

    apa bisa di kasih sedikit flow chart
    atau sedikit keterangan dalam scriptnya
    dan mau tanya fungsi setiap comandnya

    import java.awt.*;
    import java.awt.event.*;

    public class tombolRespon
    extends Frame
    implements ActionListener { <---------- buat apa
    Button bAktif = new Button("Aktifkan tombol <---------- Button sama new Button (kalo kg salah buat kotak tombol)

    TUTUP");
    Button bNonAktif = new Button("non-aktifkan

    tombol TUTUP");
    Button bUbahIsi = new Button();
    Button bUbahWarna = new Button("Merubah warna

    Teks ");
    Button bUbahLatar = new Button("Merubah Warna

    latar belakang tombol");
    Button bTutup = new Button("tombol TUTUP");
    Button bUbahFrame = new Button("Merubah Warna

    Latar Belakang Frame");
    Button bAwal = new Button("Kembalikan ke

    Keadaan Awal");

    public tombolRespon() { <----------- public
    tampilan(); <----------- comand / keterangan
    }

    public static void main(String[] args) {
    tombolRespon tombolRespon = new tombolRespon();
    tombolRespon.setSize(250, 300);
    tombolRespon.setTitle("Tombol Respon AWT");
    tombolRespon.setVisible(true);
    }

    public void tampilan() { <------ apa bedangan dengan public
    // Layout Komponen
    this.setLayout(new FlowLayout()); <------ comand this.set / apa lah funginya buat apa

    // Non-aktifkan tombol Resize
    this.setResizable(false);

    // Menambahkan komponen button
    this.add(bUbahLatar, null); <------ this.add (null) ????
    this.add(bUbahWarna, null);
    this.add(bUbahFrame, null);
    this.add(bUbahIsi, null);
    this.add(bAktif, null);
    this.add(bNonAktif, null);
    this.add(bTutup, null);
    this.add(bAwal, null);
    // Mengatur warna teks pada tombol
    bUbahWarna.setForeground(Color.green);
    bAwal.setForeground(Color.blue);

    // Mengatur text pada bUbahIsi
    bUbahIsi.setLabel("Merubah isi Teks Tombol");

    // Mengatur warna latar belakang pada tombol
    bUbahWarna.setBackground(Color.black);
    bUbahLatar.setBackground(Color.green);
    bTutup.setBackground(Color.red);
    bAwal.setBackground(Color.orange);

    // Mengatur Jenis, Bentuk, dan Ukuran teks pada

    Tombol
    bAwal.setFont(new Font("Monospaced", 2, 11));

    // Non-aktifkan tombol Tutup
    bTutup.setEnabled(false);

    // Menambahkan ActionListener pada

    masing-masing Tombol
    bAktif.addActionListener(this);
    bNonAktif.addActionListener(this);
    bUbahIsi.addActionListener(this);
    bUbahWarna.addActionListener(this);
    bUbahLatar.addActionListener(this);
    bUbahFrame.addActionListener(this);
    bTutup.addActionListener(this);
    bAwal.addActionListener(this);

    } // Akhir Kelas tampilan

    /**
    * Methode actionPerformed
    * Keterangan : Methode untuk merespon action

    listener dari tombol yang ditekan
    * @param e : Action Listener dari tombol yang

    ditekan
    */
    public void actionPerformed(ActionEvent e) {
    // Mengambil nama command dari tombol yang

    ditekan
    Object cmd = e.getSource();

    // Jika tombol "Aktifkan Tombol Tutup" ditekan
    if (cmd.equals(bAktif)) {
    // Aktifkan tombol Tutup
    bTutup.setEnabled(true);
    }

    // Jika tombol "Non-Aktifkan Tombol Tutup"

    ditekan
    if (cmd.equals(bNonAktif)) {
    // non-aktifkan tombol Tutup
    bTutup.setEnabled(false);
    }

    // Jika tombol "Merubah Isi Teks Tombol"

    ditekan
    if (cmd == bUbahIsi) {
    // Mengatur ulang isi teks pada tombol
    bUbahIsi.setLabel("Teks ini telah diganti");
    }
    // Jika tombol "Merubah Warna Teks" ditekan
    if (bUbahWarna.equals(cmd)) {
    // Mengatur ulang Warna Teks pada tombol
    bUbahWarna.setForeground(Color.CYAN);
    }

    // Jika tombol "Merubah Warna Latar Belakang

    Tombol" ditekan
    if (bUbahLatar == cmd) {
    // Mengatur ulang warna latar belakang tombol
    bUbahLatar.setBackground(Color.pink);
    }

    // Jika tombol "Merubah Warna latar belakang

    Frame" ditekan
    if (cmd.equals(bUbahFrame)) {
    // Mengatur ulang warna latar belakang frame
    this.setBackground(Color.MAGENTA);
    }

    // Jika tombol "tombol TUTUP" ditekan
    if (cmd.equals(bTutup)) {
    // Keluar dari sistem
    System.exit(0);
    }

    // Jika tombol "Kembalikan ke Keadaan Awal"

    ditekan
    if (cmd.equals(bAwal)) {
    // Panggil methode tampilan() untuk Mengatur ke

    nilai awal
    tampilan();
    }

    } // Akhir methode actionPerformed
    } // Akhir Kelas tombolRespon

    dan beberapa componen yang lain
    dengan dasar itu kita bisa berkreasi sendiri
    misal yang paling simple this.setBackground (Color. ____) ini buat set warna background (ini yang mudah dibaca/dipahami)
    kalo ada yang punya basicnya (fungsi tiap2 comand share please)
    kalo bisa dikasih sedikit percobaan(ujian)biar yang mempelajari benar2 paham (bukan cuman copas)

  8. #112

    Join Date
    Apr 2011
    Location
    Bandung, Indonesia, Indonesia
    Posts
    5
    Points
    2.50
    Thanks: 0 / 0 / 0

    Default

    gan tolong d update lagi donk javanya jangan cuma segini. dan kalo g salah ada software bahasa pemrograman java yang baru kalo g salah namanyatuh JCreator

  9. #113
    ouwyeah's Avatar
    Join Date
    Dec 2008
    Location
    live in pain and hatred
    Posts
    781
    Points
    907.50
    Thanks: 5 / 3 / 3

    Default

    ada yang pernah coba IDE NaviCoder??

  10. #114
    bguez's Avatar
    Join Date
    Aug 2011
    Location
    Surabaya
    Posts
    7,579
    Points
    698.49
    Thanks: 17 / 67 / 52

    Default

    gan ada yg bisa bwt capture foto lewat java enggk??

    klo ada script,shared dunk gan

  11. #115
    Sylphz-'s Avatar
    Join Date
    Sep 2009
    Location
    Jabar
    Posts
    743
    Points
    0.99
    Thanks: 19 / 13 / 13

    Default

    javany msh ada yg lanjutin ga nih ?

  12. #116
    Jkt-LotusRic's Avatar
    Join Date
    Sep 2007
    Location
    Dimana Saja Boleh~
    Posts
    6,884
    Points
    8,320.40
    Thanks: 192 / 231 / 203

    Default

    Quote Originally Posted by Sylphz- View Post
    javany msh ada yg lanjutin ga nih ?
    masih akan berlanjut k0q~

    jika ada tambahan, silahkan update saja kesini, biar rekan-rekan bisa menambah pengalamannya~

  13. #117
    Sylphz-'s Avatar
    Join Date
    Sep 2009
    Location
    Jabar
    Posts
    743
    Points
    0.99
    Thanks: 19 / 13 / 13

    Default

    Quote Originally Posted by Jkt-LotusRic View Post
    masih akan berlanjut k0q~

    jika ada tambahan, silahkan update saja kesini, biar rekan-rekan bisa menambah pengalamannya~
    mau bahas ape ya...akwkwak dsni kykny sepi >.<

  14. #118
    bguez's Avatar
    Join Date
    Aug 2011
    Location
    Surabaya
    Posts
    7,579
    Points
    698.49
    Thanks: 17 / 67 / 52

    Default

    agan2 smua bisa bantu'in enggk ni..

    gw cari script capture gambar lwt JAVA ni..

    binggung ni gw..

    tolong bantu dunk gan..

  15. #119
    Jkt-LotusRic's Avatar
    Join Date
    Sep 2007
    Location
    Dimana Saja Boleh~
    Posts
    6,884
    Points
    8,320.40
    Thanks: 192 / 231 / 203

    Default

    Quote Originally Posted by Sylphz- View Post
    mau bahas ape ya...akwkwak dsni kykny sepi >.<
    tentunya pembahasan sesuai dengan topic yang ada pada thread ini~

    kalo sepi, mari kita ramaikan kembali bersama" "All about JAVA"

  16. #120
    sibabiganja's Avatar
    Join Date
    Jul 2009
    Location
    indonesia
    Posts
    1,425
    Points
    112.71
    Thanks: 10 / 37 / 27

    Default

    Quote Originally Posted by bguez View Post
    agan2 smua bisa bantu'in enggk ni..

    gw cari script capture gambar lwt JAVA ni..

    binggung ni gw..

    tolong bantu dunk gan..
    capture pict dr web ato gmn ?

Page 8 of 9 FirstFirst ... 456789 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •