Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
Darkc0der Darkc0der is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 598
Rep Power: 15
Darkc0der mempunyai hidup yang Normal
Default Problem JComboBox (Java)

Code:

JComboBox box1 = new JComboBox();
box1.addItem("Silahkan Pilih");
box1.addItem("Keluarga");
box1.addItem("Teman");
box1.addItem("Kantor");
box1.addItem("Kampus");

Gan gimana caranya pada saat program dijalankan trus combo box nya kita klik, nah otomatis tulisan "Silahkan Pilih" nya tidak termasuk dalam list, jadi cuman ada pilihan "Keluarga","Teman","Kantor","Kampus".



Makasih gan atas bantuan y

</div>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Terkait
Thread Thread Starter Forum Replies Last Post
JUAL Kumpulan Source Code Visual Basic, VB Net, Java, Java Script, ASP, PHP, Delphi, C grosirdvd CD/DVD 199 24th November 2013 07:06 PM
Sepatu futsal specs accelerator java in white java jualsportball Sports 0 4th September 2012 01:05 PM
JUAL Visual Basic 6, .Net, Delphi, Java App, Java Web, C#, Foxpro, Web Design, Asp, Php mousekompi Software Original & Open Source 0 26th May 2012 10:50 AM
[ask] need help java problem in netbeans Permenkaret Programming 0 20th November 2011 02:31 AM

 


All times are GMT +7. The time now is 05:04 AM.