privateint m, n, smithitemcount, raitaitemcount;
|
|
- Collin Marsh
- 6 years ago
- Views:
Transcription
1 LISTING PROGRAM /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools Templates * and open the template in the editor. */ package jsmik; import java.nio.charset.standardcharsets; import java.sql.connection; import java.sql.drivermanager; import java.sql.resultset; import java.sql.sqlexception; import java.sql.statement; import javax.swing.joptionpane; import javax.swing.jtable; import javax.swing.table.defaulttablemodel; /** * user */ publicclass halaman_cari extends javax.swing.jframe { //private final boolean debugmode = true; private Connection con; private Statement stat; private ResultSet res; privatefinal DefaultTableModel datatableall =new DefaultTableModel(); privatefinalint[] bmbcvalue =newint[65532]; privatefinalint[] qsbcvalue =newint[65532]; privateint m, n, smithitemcount, raitaitemcount; /** * Creates new form halaman_cari */ public halaman_cari(){ initcomponents(); koneksi(); datatable(); smithitemcount = tabel_smith.getrowcount(); raitaitemcount = tabel_raita.getrowcount(); smithitemcountlabel.settext("item Count : "+ smithitemcount); raitaitemcountlabel.settext("item Count : "+ raitaitemcount); kolomcombobox.removeallitems(); kolomcombobox.additem("judul"); kolomcombobox.additem("nim"); kolomcombobox.additem("nama"); kolomcombobox.additem("keyword");
2 //private void debugmessage(string name, String message){ // if (debugmode) debugtextarea.append(name + " : " + message + "\n"); // privatevoid koneksi(){ try{ Class.forName("com.mysql.jdbc.Driver"); con=drivermanager.getconnection(""+"jdbc:mysql://localhost/jsmik"," root",""); stat = con.createstatement(); catch(classnotfoundexception SQLException i){ JOptionPane.showMessageDialog(null, i); privatevoid adjusttablewidth(defaulttablemodel datatablesmith, DefaultTableModel datatableraita){ int maxstring; for(int i =1; i <4; i++){ maxstring =0; for(int j=0; j<=datatablesmith.getrowcount()-1; j++){ if(datatablesmith.getvalueat(j, i).tostring().length()> maxstring){ maxstring = datatablesmith.getvalueat(j, i).tostring().length(); tabel_smith.getcolumnmodel().getcolumn(i).setpreferredwidth(maxstri ng*7); maxstring =0; for(int j=0; j<=datatableraita.getrowcount()-1; j++){ if(datatableraita.getvalueat(j, i).tostring().length()> maxstring){ maxstring = datatableraita.getvalueat(j, i).tostring().length(); tabel_raita.getcolumnmodel().getcolumn(i).setpreferredwidth(maxstri ng*7); privatevoid datatable(){ datatableall.addcolumn("nim"); datatableall.addcolumn("judul SKRIPSI"); datatableall.addcolumn("nama"); datatableall.addcolumn("keyword"); tabel_smith.setmodel(datatableall); tabel_raita.setmodel(datatableall); tabel_smith.setautoresizemode(jtable.auto_resize_off); tabel_raita.setautoresizemode(jtable.auto_resize_off); tabel_smith.getcolumnmodel().getcolumn(0).setpreferredwidth(90);
3 tabel_raita.getcolumnmodel().getcolumn(0).setpreferredwidth(90); try{ res=stat.executequery("select nim, judul, nama, keyword from judul_skripsi"); while(res.next()){ datatableall.addrow (new Object[]{ res.getstring("nim"), res.getstring("judul"), res.getstring("nama"), res.getstring("keyword") ); catch(sqlexception e){ JOptionPane.showMessageDialog(null, e); adjusttablewidth(datatableall, datatableall); privatevoid bmbc(string pattern){ int ascii; m = pattern.length(); for(int i =0; i < bmbcvalue.length; i++){ bmbcvalue[i]= m; for(int i =0; i < m-1; i++){ ascii =(int) pattern.tochararray()[i]; bmbcvalue[ascii]= m-i-1; privatevoid qsbc(string pattern){ int ascii; m = pattern.length(); for(int i =0; i < qsbcvalue.length; i++){ qsbcvalue[i]= m+1; for(int i =0; i < m; i++){ ascii =(int) pattern.tochararray()[i]; qsbcvalue[ascii]= m-i; publicboolean smithalgorithm(string pattern, String text){ boolean result; result =false; int a, b, c; m = pattern.length(); n = text.length();
4 bmbc(pattern); qsbc(pattern); int j=0; while(j <=(n-m)){ if( issame(pattern,text.substring(j, j+m))) result =true; a =(int) text.tochararray()[j+m-1]; if(j == n-m) else b =(int) text.tochararray()[j+m-1]; b =(int) text.tochararray()[j+m]; if(result){ else{ j += qsbcvalue[b]; j += Math.max(bmbcValue[a], qsbcvalue[b]); return result; publicboolean raitaalgorithm(string pattern, String text){ boolean result; result =false; int a; char first, middle, last, c; m = pattern.length(); n = text.length(); first = pattern.charat(0); middle = pattern.charat(math.floordiv(m,2)); last = pattern.charat(m-1); bmbc(pattern); int j =0; while(j <=(n-m)){ c = text.charat(j+(m-1)); if(m ==1){ if(pattern.tochararray()[0]== text.tochararray()[j]) result =true; else{ if( last == c && first == text.charat(j)&& middle == text.charat(j+math.floordiv(m,2))&& pattern.substring(1, m- 1).equals(text.substring(j+1, j+(m-1)))){ result =true; a =(int) text.tochararray()[j+m-1]; j += bmbcvalue[a];
5 return result; publicboolean issame(string a, String b){ boolean result =false; if( a.length()== b.length()){ for(int i=0; i<= a.length()-1; i++){ if( a.tochararray()[i]== b.tochararray()[i]){ result =true; else{ returnfalse; return result; /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. // <editor-fold defaultstate="collapsed" desc="generated Code">//GEN-BEGIN:initComponents privatevoid initcomponents(){ jmenuitem5 =new javax.swing.jmenuitem(); jmenubar2 =new javax.swing.jmenubar(); jmenu3 =new javax.swing.jmenu(); jmenu4 =new javax.swing.jmenu(); background_semua1 =new jsmik.background_semua(); searchbtn =new javax.swing.jbutton(); resetbutton =new javax.swing.jbutton(); jlabel1 =new javax.swing.jlabel(); jlabel2 =new javax.swing.jlabel(); jlabel3 =new javax.swing.jlabel(); jlabel4 =new javax.swing.jlabel(); smithtimetextfield =new javax.swing.jtextfield(); raitatimetextfield =new javax.swing.jtextfield(); raitaitemcountlabel =new javax.swing.jlabel(); jpanel1 =new javax.swing.jpanel(); jscrollpane1 =new javax.swing.jscrollpane(); tabel_smith =new javax.swing.jtable(); jpanel3 =new javax.swing.jpanel(); jscrollpane2 =new javax.swing.jscrollpane(); tabel_raita =new javax.swing.jtable(); smithitemcountlabel =new javax.swing.jlabel(); kolomcombobox =new javax.swing.jcombobox<>(); jscrollpane4 =new javax.swing.jscrollpane(); keyword_textarea =new javax.swing.jtextarea(); jscrollpane3 =new javax.swing.jscrollpane(); debugtextarea =new javax.swing.jtextarea(); jlabel7 =new javax.swing.jlabel();
6 jmenubar1 =new javax.swing.jmenubar(); jmenu1 =new javax.swing.jmenu(); jmenuitem1 =new javax.swing.jmenuitem(); jmenuitem2 =new javax.swing.jmenuitem(); jmenuitem3 =new javax.swing.jmenuitem(); jmenu2 =new javax.swing.jmenu(); jmenuitem4 =new javax.swing.jmenuitem(); jmenuitem5.settext("jmenuitem5"); jmenu3.settext("file"); jmenubar2.add(jmenu3); jmenu4.settext("edit"); jmenubar2.add(jmenu4); setdefaultcloseoperation(javax.swing.windowconstants.exit_on_close) ; searchbtn.settext("search"); searchbtn.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ searchbtnactionperformed(evt); ); resetbutton.settext("reset"); resetbutton.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ resetbuttonactionperformed(evt); ); jlabel1.settext("algoritma Smith"); jlabel2.settext("algoritma Raita"); jlabel3.settext("running Time Smith (Milidetik)"); jlabel4.settext("running Time Raita (Milidetik) "); raitatimetextfield.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ raitatimetextfieldactionperformed(evt); ); raitaitemcountlabel.settext("item Count : 0"); raitaitemcountlabel.sethorizontaltextposition(javax.swing.swingcons tants.right); tabel_smith.setmodel(new javax.swing.table.defaulttablemodel( new Object [][]{ {null,null,null,null,
7 {null,null,null,null, {null,null,null,null, {null,null,null,null, new String []{ "Title 1","Title 2","Title 3","Title 4" )); tabel_smith.setname("tabel_smith");// NOI18N jscrollpane1.setviewportview(tabel_smith); javax.swing.grouplayout jpanel1layout =new javax.swing.grouplayout(jpanel1); jpanel1.setlayout(jpanel1layout); jpanel1layout.sethorizontalgroup( jpanel1layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addgroup(jpanel1layout.createsequentialgroup().addcomponent(jscrollpane1, javax.swing.grouplayout.default_size,440, Short.MAX_VALUE).addGap(0,0,0)) ); jpanel1layout.setverticalgroup( jpanel1layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addcomponent(jscrollpane1, javax.swing.grouplayout.preferred_size,321, ); tabel_raita.setmodel(new javax.swing.table.defaulttablemodel( new Object [][]{ {null,null,null,null, {null,null,null,null, {null,null,null,null, {null,null,null,null, new String []{ "Title 1","Title 2","Title 3","Title 4" )); tabel_raita.setautoscrolls(false); jscrollpane2.setviewportview(tabel_raita); javax.swing.grouplayout jpanel3layout =new javax.swing.grouplayout(jpanel3); jpanel3.setlayout(jpanel3layout); jpanel3layout.sethorizontalgroup( jpanel3layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addcomponent(jscrollpane2, javax.swing.grouplayout.alignment.trailing, javax.swing.grouplayout.default_size,440, Short.MAX_VALUE) ); jpanel3layout.setverticalgroup(
8 jpanel3layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addcomponent(jscrollpane2, javax.swing.grouplayout.preferred_size,320, ); smithitemcountlabel.settext("item Count : 0"); smithitemcountlabel.sethorizontaltextposition(javax.swing.swingcons tants.right); kolomcombobox.setmodel(new javax.swing.defaultcomboboxmodel<>(new String[]{"Item 1","Item 2","Item 3","Item 4")); kolomcombobox.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ kolomcomboboxactionperformed(evt); ); keyword_textarea.setcolumns(20); keyword_textarea.setrows(5); jscrollpane4.setviewportview(keyword_textarea); javax.swing.grouplayout background_semua1layout =new javax.swing.grouplayout(background_semua1); background_semua1.setlayout(background_semua1layout); background_semua1layout.sethorizontalgroup( background_semua1layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addgroup(background_semua1layout.createsequentialgroup().addcontainergap() ouplayout.alignment.leading).addgroup(background_semua1layout.createsequentialgroup().addgap(10,10,10).addcomponent(jlabel1).addcontainergap(818, Short.MAX_VALUE)).addGroup(background_semua1Layout.createSequentialGroup() ouplayout.alignment.leading).addgroup(background_semua1layout.createsequentialgroup().addcomponent(jscrollpane4, javax.swing.grouplayout.preferred_size,589,.addpreferredgap(javax.swing.layoutstyle.componentplacement.related).addcomponent(kolomcombobox, javax.swing.grouplayout.preferred_size,130,.addpreferredgap(javax.swing.layoutstyle.componentplacement.unrelate D).addComponent(searchBtn).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATE D).addComponent(resetButton).addGap(0,0, Short.MAX_VALUE))
9 .addgroup(background_semua1layout.createsequentialgroup() ouplayout.alignment.trailing).addgroup(javax.swing.grouplayout.alignment.leading, background_semua1layout.createsequentialgroup().addcomponent(jlabel3).addpreferredgap(javax.swing.layoutstyle.componentplacement.unrelate D).addComponent(smithTimeTextField, javax.swing.grouplayout.preferred_size,129,.addpreferredgap(javax.swing.layoutstyle.componentplacement.related).addcomponent(smithitemcountlabel)).addcomponent(jpanel1, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size, ).addpreferredgap(javax.swing.layoutstyle.componentplacement.related, 12, Short.MAX_VALUE) ouplayout.alignment.leading).addgroup(background_semua1layout.createsequentialgroup().addgap(2,2,2).addcomponent(jlabel4, javax.swing.grouplayout.preferred_size,158,.addpreferredgap(javax.swing.layoutstyle.componentplacement.related).addcomponent(raitatimetextfield, javax.swing.grouplayout.preferred_size,123,.addpreferredgap(javax.swing.layoutstyle.componentplacement.related).addcomponent(raitaitemcountlabel)).addcomponent(jlabel2).addcomponent(jpanel3, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size, ))).addcontainergap()))) ); background_semua1layout.setverticalgroup( background_semua1layout.createparallelgroup(javax.swing.grouplayout.alignment.leading).addgroup(javax.swing.grouplayout.alignment.trailing, background_semua1layout.createsequentialgroup().addcontainergap(211, Short.MAX_VALUE) ouplayout.alignment.trailing) ouplayout.alignment.baseline).addcomponent(kolomcombobox, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size,.addcomponent(searchbtn).addcomponent(resetbutton)).addcomponent(jscrollpane4, javax.swing.grouplayout.preferred_size,56, ).addpreferredgap(javax.swing.layoutstyle.componentplacement.unrelate D) ouplayout.alignment.baseline).addcomponent(jlabel1)
10 .addcomponent(jlabel2)).addpreferredgap(javax.swing.layoutstyle.componentplacement.related) ouplayout.alignment.leading).addcomponent(jpanel1, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size,.addcomponent(jpanel3, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size, ).addgap(18,18,18) ouplayout.alignment.leading) ouplayout.alignment.baseline).addcomponent(jlabel3).addcomponent(smithtimetextfield, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size,.addcomponent(smithitemcountlabel)) ouplayout.alignment.baseline).addcomponent(jlabel4).addcomponent(raitatimetextfield, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size,.addcomponent(raitaitemcountlabel))).addgap(54,54,54)) ); debugtextarea.setcolumns(20); debugtextarea.setrows(5); debugtextarea.setname("");// NOI18N jscrollpane3.setviewportview(debugtextarea); jlabel7.settext("debug :"); jmenu1.settext("aktivitas"); jmenuitem1.setaccelerator(javax.swing.keystroke.getkeystroke(java.a wt.event.keyevent.vk_t, java.awt.event.inputevent.ctrl_mask)); jmenuitem1.settext("tambah Judul"); jmenuitem1.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ jmenuitem1actionperformed(evt); ); jmenu1.add(jmenuitem1); jmenuitem2.setaccelerator(javax.swing.keystroke.getkeystroke(java.a wt.event.keyevent.vk_c, java.awt.event.inputevent.ctrl_mask)); jmenuitem2.settext("cari Judul"); jmenuitem2.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){
11 ); jmenuitem2actionperformed(evt); jmenu1.add(jmenuitem2); jmenuitem3.setaccelerator(javax.swing.keystroke.getkeystroke(java.a wt.event.keyevent.vk_l, java.awt.event.inputevent.ctrl_mask)); jmenuitem3.settext("lihat Informasi Judul"); jmenuitem3.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ jmenuitem3actionperformed(evt); ); jmenu1.add(jmenuitem3); jmenubar1.add(jmenu1); jmenu2.settext("tentang"); jmenuitem4.setaccelerator(javax.swing.keystroke.getkeystroke(java.a wt.event.keyevent.vk_a, java.awt.event.inputevent.ctrl_mask)); jmenuitem4.settext("tentang Aplikasi"); jmenuitem4.addactionlistener(new java.awt.event.actionlistener(){ publicvoid actionperformed(java.awt.event.actionevent evt){ jmenuitem4actionperformed(evt); ); jmenu2.add(jmenuitem4); jmenubar1.add(jmenu2); setjmenubar(jmenubar1); javax.swing.grouplayout layout =new javax.swing.grouplayout(getcontentpane()); getcontentpane().setlayout(layout); layout.sethorizontalgroup( layout.createparallelgroup(javax.swing.grouplayout.alignment.leadin G).addGroup(layout.createSequentialGroup().addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignme nt.trailing,false).addcomponent(jscrollpane3, javax.swing.grouplayout.alignment.leading).addcomponent(background_semua1, javax.swing.grouplayout.alignment.leading, javax.swing.grouplayout.default_size, javax.swing.grouplayout.default_size, Short.MAX_VALUE)).addGap(0,0, Short.MAX_VALUE)).addGroup(layout.createSequentialGroup().addContainerGap().addComponent(jLabel7).addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) );
12 layout.setverticalgroup( layout.createparallelgroup(javax.swing.grouplayout.alignment.leadin G).addGroup(layout.createSequentialGroup().addComponent(background_semua1, javax.swing.grouplayout.preferred_size, javax.swing.grouplayout.default_size,.addpreferredgap(javax.swing.layoutstyle.componentplacement.related, javax.swing.grouplayout.default_size, Short.MAX_VALUE).addComponent(jLabel7).addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(jScrollPane3, javax.swing.grouplayout.preferred_size,76, ) ); pack(); // </editor-fold>//gen-end:initcomponents privatevoid jmenuitem1actionperformed(java.awt.event.actionevent evt){//gen-first:event_jmenuitem1actionperformed halaman_login a=new halaman_login(); new halaman_login().setvisible(true); this.dispose();// TODO add your handling code here: //GEN-LAST:event_jMenuItem1ActionPerformed privatevoid jmenuitem2actionperformed(java.awt.event.actionevent evt){//gen-first:event_jmenuitem2actionperformed halaman_cari a=new halaman_cari(); new halaman_cari().setvisible(true); this.dispose();// TODO add your handling code here: //GEN-LAST:event_jMenuItem2ActionPerformed privatevoid jmenuitem3actionperformed(java.awt.event.actionevent evt){//gen-first:event_jmenuitem3actionperformed halaman_lihat a=new halaman_lihat(); new halaman_lihat().setvisible(true); this.dispose();// TODO add your handling code here: //GEN-LAST:event_jMenuItem3ActionPerformed privatevoid jmenuitem4actionperformed(java.awt.event.actionevent evt){//gen-first:event_jmenuitem4actionperformed halaman_tentang a=new halaman_tentang(); new halaman_tentang().setvisible(true); this.dispose();// TODO add your handling code here: //GEN-LAST:event_jMenuItem4ActionPerformed privatevoid searchbtnactionperformed(java.awt.event.actionevent evt){//gen-first:event_searchbtnactionperformed DefaultTableModel datatablesmith =new DefaultTableModel(); DefaultTableModel datatableraita =new DefaultTableModel(); long tstart, tend, tdelta; String pilihan;//menampung PILIHAN TARGET int kolomtabel; pilihan = kolomcombobox.getselecteditem().tostring();
13 switch(pilihan){ case"nim": kolomtabel =0;break; case"judul": kolomtabel =1;break; case"nama": kolomtabel =2;break; case"keyword": kolomtabel =3;break; default: kolomtabel =1;break; if(!keyword_textarea.gettext().isempty()){ datatablesmith.addcolumn("nim"); datatablesmith.addcolumn("judul SKRIPSI"); datatablesmith.addcolumn("nama"); datatablesmith.addcolumn("keyword"); datatableraita.addcolumn("nim"); datatableraita.addcolumn("judul SKRIPSI"); datatableraita.addcolumn("nama"); datatableraita.addcolumn("keyword"); tabel_smith.setmodel(datatablesmith); tabel_raita.setmodel(datatableraita); // Smith tstart = System.currentTimeMillis(); for(int i=0; i <= datatableall.getrowcount()-1; i++){ if( smithalgorithm(keyword_textarea.gettext().touppercase(), datatableall.getvalueat(i, kolomtabel).tostring().touppercase())){ datatablesmith.addrow(new Object[]{ datatableall.getvalueat(i,0), datatableall.getvalueat(i,1), datatableall.getvalueat(i,2), datatableall.getvalueat(i,3) ); tend = System.currentTimeMillis(); tdelta = tend - tstart; smithtimetextfield.settext(long.tostring(tdelta)); smithitemcount = tabel_smith.getrowcount(); smithitemcountlabel.settext("item Count : "+ smithitemcount); // Raita tstart = System.currentTimeMillis(); for(int i=0; i <= datatableall.getrowcount()-1; i++){ if( raitaalgorithm(keyword_textarea.gettext().touppercase(), datatableall.getvalueat(i, kolomtabel).tostring().touppercase())){ datatableraita.addrow(new Object[]{ datatableall.getvalueat(i,0), datatableall.getvalueat(i,1), datatableall.getvalueat(i,2), datatableall.getvalueat(i,3) ); tend = System.currentTimeMillis(); tdelta = tend - tstart; raitatimetextfield.settext(long.tostring(tdelta));
14 raitaitemcount = tabel_raita.getrowcount(); raitaitemcountlabel.settext("item Count : "+ raitaitemcount); adjusttablewidth(datatablesmith, datatableraita); //GEN-LAST:event_searchBtnActionPerformed privatevoid resetbuttonactionperformed(java.awt.event.actionevent evt){//gen-first:event_resetbuttonactionperformed // TODO add your handling code here: tabel_smith.setmodel(datatableall); tabel_raita.setmodel(datatableall); smithitemcount = tabel_smith.getrowcount(); raitaitemcount = tabel_raita.getrowcount(); smithitemcountlabel.settext("item Count : "+ smithitemcount); raitaitemcountlabel.settext("item Count : "+ raitaitemcount); smithtimetextfield.settext(integer.tostring(0)); raitatimetextfield.settext(integer.tostring(0)); adjusttablewidth(datatableall, datatableall); keyword_textarea.settext(""); debugtextarea.settext(""); //GEN-LAST:event_resetButtonActionPerformed privatevoid kolomcomboboxactionperformed(java.awt.event.actionevent evt){//gen-first:event_kolomcomboboxactionperformed // TODO add your handling code here: //GEN-LAST:event_kolomComboBoxActionPerformed privatevoid raitatimetextfieldactionperformed(java.awt.event.actionevent evt){//gen-first:event_raitatimetextfieldactionperformed // TODO add your handling code here: //GEN-LAST:event_raitaTimeTextFieldActionPerformed /** args the command line arguments */ publicstaticvoid main(string args[]){ /* Set the Nimbus look and feel */ //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) "> /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. * For details see */ try{ for(javax.swing.uimanager.lookandfeelinfo info : javax.swing.uimanager.getinstalledlookandfeels()){ if("nimbus".equals(info.getname())){ javax.swing.uimanager.setlookandfeel(info.getclassname()); break;
15 catch(classnotfoundexception InstantiationException IllegalAccessException javax.swing.unsupportedlookandfeelexception ex){ java.util.logging.logger.getlogger(halaman_cari.class.getname()).lo g(java.util.logging.level.severe,null, ex); //</editor-fold> //</editor-fold> /* Create and display the form */ java.awt.eventqueue.invokelater(()->{ new halaman_cari().setvisible(true); ); // Variables declaration - do not modify//gen-begin:variables private jsmik.background_semua background_semua1; private javax.swing.jtextarea debugtextarea; private javax.swing.jlabel jlabel1; private javax.swing.jlabel jlabel2; private javax.swing.jlabel jlabel3; private javax.swing.jlabel jlabel4; private javax.swing.jlabel jlabel7; private javax.swing.jmenu jmenu1; private javax.swing.jmenu jmenu2; private javax.swing.jmenu jmenu3; private javax.swing.jmenu jmenu4; private javax.swing.jmenubar jmenubar1; private javax.swing.jmenubar jmenubar2; private javax.swing.jmenuitem jmenuitem1; private javax.swing.jmenuitem jmenuitem2; private javax.swing.jmenuitem jmenuitem3; private javax.swing.jmenuitem jmenuitem4; private javax.swing.jmenuitem jmenuitem5; private javax.swing.jpanel jpanel1; private javax.swing.jpanel jpanel3; private javax.swing.jscrollpane jscrollpane1; private javax.swing.jscrollpane jscrollpane2; private javax.swing.jscrollpane jscrollpane3; private javax.swing.jscrollpane jscrollpane4; private javax.swing.jtextarea keyword_textarea; private javax.swing.jcombobox<string> kolomcombobox; private javax.swing.jlabel raitaitemcountlabel; private javax.swing.jtextfield raitatimetextfield; private javax.swing.jbutton resetbutton; private javax.swing.jbutton searchbtn; private javax.swing.jlabel smithitemcountlabel; private javax.swing.jtextfield smithtimetextfield; private javax.swing.jtable tabel_raita; private javax.swing.jtable tabel_smith; // End of variables declaration//gen-end:variables
16 DAFTAR RIWAYAT HIDUP CURRICULUM VITAE I. DATA PRIBADI / Personal Identification Nama Lengkap : Zariani Mutia Syara Tempat / Tanggal Lahir : Pem.Cengkering/ 11 Juli 1995 Jenis Kelamin : Perempuan Agama : Islam Kebangsaan : Indonesia Alamat : Jalan Karya Kasih No 5a Mongonsidi Kec. Medan Polonia Medan, Sumatera Utara, Indonesia Telepon : Motto Hidup : Senyumanmu dan senyuman orang yang kau sayangi akandatang jika kau mau berniat, berusaha dan berdoa. Tinggi / Berat : 150 cm / 59 kg : mutiasya@gmail.com II. KESEHATAN / Health Tidak memiliki cacat fisik maupun mental dan tidak memiliki penyakit bawaan. III. KEMAMPUAN / Capabilities Bahasa : Bahasa Indonesia, Bahasa Inggris Bahasa Pemrograman : Java Database : MySQL Lainnya : Ms. Office
17 IV. PENDIDIKAN FORMAL / Formal Education [ ] Implementasi Dan Perbandingan Algoritma Smith Dan Algoritma Raita Pada Pencarian Kata S1 Ilmu Komputer, Fakultas Ilmu Komputer dan Teknlogi Informasi [ ] SMA Plus Al- Azhar Medan [ ] SMP Negeri 1 Sei Suka, Kabupaten Batubara [ ] SD Negeri Pematang Cengkering, Kabupaten Batubara V. PRESTASI / Achievements 1) Juara II Lomba Matematika Tingkat SD Se-Kecamatan Medang Deras [2006]. 2) Juara Harapan II Pada Program Kotak Katik Komputer Tingkat SMA PLUS AL-AZHAR Medan [2011]. 3) Juara Harapan I Pada Kegiatan Ko-Kurikuler Club Kimia Tingkat SMA PLUS AL-AZHAR Medan [2011]. 4) Juara Harapan III Pada Kegiatan Ko-Kurikuler Club Kimia Tingkat SMA PLUS AL-AZHAR Medan [2012]. 5) Juara III Lomba Jurnalistik Tingkat SMA KOTA MEDAN dalam kegiatan FLS2N [2012] 6) Penerima Beasiswa Peningkatan Prestasi Akademik (PPA) USU [2015] 7) Penerima Beasiswa Peningkatan Prestasi Akademik (PPA) USU [2016] VI. SEMINAR / Seminars 1) Peserta Seminar Nasional Literasi Informasi (SENARAI) Fakultas Ilmu Komputer dan Teknologi Informasi,, Medan [2014] 2) Peserta Seminar Nasional Industri Kreatif IT Fest 2017 Fakultas Ilmu Komputer dan Teknologi Informasi,, Medan [2017]
18 VII. PENGALAMAN ORGANISASI / Organizational Experiences 1) Kepala Bidang Kewirausahaan PEMA Fasilkom-TI USU [ ] VIII. PENGALAMAN KEPANITIAAN / Committee Experiences 1) Anggota Konsumsi Dies Natalis Ilmu Komputer USU [2013] 2) Anggota Acara Hari Ibu Fasilkom-TI [2013] 3) Koordinator Konsumsi PORSENI Ilmu Komputer USU [2014] 4) Koordinator Konsumsi seminar WHAT WILL YOU BE? Ilmu Komputer USU [2014] 5) Anggota Konsumsi seminar KEWIRAUSAHAAN Ilmu Komputer USU [2014] 6) Anggota Acara Imilkom Contest & Seminar Open BTS Ilmu Komputer USU [2014] 7) Anggota Acara Imilkom Goes To School (IGTS) Ilmu Komputer USU [2014] 8) Anggota Humas ARTECHNO 2015 [2015] 9) Koordinator Konsumsi PKKMB FASILKOM-TI [2016] 10) Koordinator Konsumsi Panitia Pelantikan PEMA FASILKOM-TI[2016] 11) Koordinator Konsumsi ARTECHNO 2016 [2016] 12) Panitia TO STAN se-sumut [2016] IX. LAINNYA / Others 1) Peserta Olimpiade UN Tingkat SMP Se-SUMBAGUT di Auditorium USU [2010] 2) Peserta Mathematic Competition III antar SMA se-kota MEDAN di FMIPA UNIMED [2011] 3) Peserta Ekonomi Tingkat SMA di FMIPA USU [2011] 4) Peserta National English Olympiad oleh Quantum Cendikia dan Hima PHIM FEB Universitas Brawijaya [2011] 5) Peserta National English Olimpiad oleh American Corner, University Of Muhammadiyah Malang [2012] 6) Peserta Seminar Teknologi Nasional di Auditorium USU [2011] 7) Peserta GEMA ANNISA I M VIRGIN, I M HAPPY di Auditorium USU [2011] 8) Peserta SUMUT YOUNG ENTERPRENEURSHIP SUMMIT di Auditorium UISU Medan [2013] 9) Peserta Seminar WHAT WILL YOU BE? Oleh Imilkom USU [2013] 10) Peserta OUTBOND PMB S1 Ilmu Komputer USU [2013] 11) Pesertaa Seminar Gelora Literasi Teknologi & Komunikasi (Si GELITIK) [2013]
* To change this license header, choose License Headers in Project Properties.
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools Templates * and open the template in the editor. */ package calci; /** * *
More information* To change this license header, choose License Headers in Project Properties.
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools Templates * and open the template in the editor. package tugasumbyjava; /**
More information/** Creates new form NewJFrame */ public NewJFrame() { initcomponents(); initblogsearch(); //initializes Index List box }
/* * To change this template, choose Tools Templates * and open the template in the editor. */ /* * NewJFrame.java * * Created on Apr 17, 2011, 1:13:13 PM */ /** * * @author Kelli */ import java.io.*;
More informationAnswer on question #61311, Programming & Computer Science / Java
Answer on question #61311, Programming & Computer Science / Java JSP JSF for completion Once the user starts the thread by clicking a button, the program must choose a random image out of an image array,
More informationAppendix I: Software Coding
References [1] Ceylon Electricity Board, Statistical Digest 2015, pp 2 [2] Roy Billinton and Ronald N. Allan, Reliability Evaluation of Engineering Systems: Concepts and Techniques, Springer (first published
More informationTravel Agency. Khateeb Engineering Classes. Mini Project. Khateeb Engineering Classes: / Technology to be used
Khateeb Engineering Classes Mini Project Travel Agency Technology to be used Front end :Java Swings Back End: PHP Myadmin Requirements : 1) Jdk ( version 1.6 or upwards) 2) Netbeans (Version 6.0 or upwards)
More informationJava Programming Summer 2008 LAB. Thursday 8/21/2008
LAB Thursday 8/21/2008 Design and implement the program that contains a timer. When the program starts, the timer shows 00:00:00. When we click the Start button, the timer starts. When we click the Stop
More informationRole-Coll Role Based Collaboration Software
Department of Computer Science University of Nevada, Reno Role-Coll Role Based Collaboration Software CS 425 12/12/2006 Software Team: Harold De Armas, Erik Hanchett, Raymond Lee, Zack Norcross Business
More informationJAVA CODE JAVA CODE: BINOMIAL TREES OPTION PRICING BINOMIALTREE CLASS PAGE 1
CODE JAVA CODE BINOMIAL TREES OPTION PRICING JAVA CODE: BINOMIAL TREES OPTION PRICING BINOMIALTREE CLASS /** * * @author Ioannis Svigkos 2008 */ // This class corresponds to binomial tree option pricing.
More informationI.1 Introduction Matisse GUI designer I.2 GroupLayout Basics Sequential and Parallel Arrangements sequential horizontal orientation
I GroupLayout I.1 Introduction Java SE 6 includes a powerful layout manager called GroupLayout, which is the default layout manager in the NetBeans IDE (www.netbeans.org). In this appendix, we overview
More informationINSTITUTO POLITÉCNICO NACIONAL ESCUELA SUPERIOR DE CÓMPUTO
INSTITUTO POLITÉCNICO NACIONAL ESCUELA SUPERIOR DE CÓMPUTO Cryptography Practice 1,2,3 By: Raúl Emmanuel Delgado Díaz de León Professor: M. en C. NIDIA ASUNCIÓN CORTEZ DUARTE February2015 Index Contenido
More informationProject Helpine Report BANQUET HALL BOOKING
Project Helpine Report BANQUET HALL BOOKING - 1 - BANQUET HALL BOOKING TABLE OF CONTENT Contents Page No. Acknowledgment 3 Declaration 4 1. Introduction & Objectives of the Project 1.1 Introduction 7 1.2
More informationDAFTAR LAMPIRAN. Source Code Java Aplikasi Keyword to Image Renamer Split
DAFTAR LAMPIRAN Source Code Java Aplikasi Keyword to Image Renamer Split Source Code Menu Utama package spin_text; import java.awt.color; import java.awt.event.actionevent; import java.awt.event.actionlistener;
More informationjlabel14 = new javax.swing.jlabel(); jlabel15 = new javax.swing.jlabel(); jlabel16 = new javax.swing.jlabel(); jlabel17 = new javax.swing.
188 APPENDIX 1 { jinternalframe1 = new javax.swing.jinternalframe(); jlabel1 = new javax.swing.jlabel(); jlabel2 = new javax.swing.jlabel(); jlabel3 = new javax.swing.jlabel(); jlabel4 = new javax.swing.jlabel();
More informationLISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.
A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation
More informationLAMPIRAN A LISTING PROGRAM
A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();
More informationLISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i];
A-1 A LISTING PROGRAM 1. Fibonacci Code //membuat fungsi Fibonacci Code public static String GetFibonacciCode(int n) { StringBuilder fib = new StringBuilder("1"); int a, b, c; List fibs = new List();
More informationCHAPTER 8 INFERENCE. The concept of Inference would be explained in the following chapter, as the CTBN
CHAPTER 8 INFERENCE The concept of Inference would be explained in the following chapter, as the CTBN framework has already been detailed on. The chapter begins by answering the most asked queries and
More informationChapter 8. Java continued. CS Hugh Anderson s notes. Page number: 264 ALERT. MCQ test next week. This time. This place.
Chapter 8 Java continued CS3283 - Hugh Anderson s notes. Page number: 263 ALERT MCQ test next week This time This place Closed book CS3283 - Hugh Anderson s notes. Page number: 264 ALERT Assignment #2
More informationJava continued. Chapter 8 ALERT ALERT. Last week. MCQ test next week. This time. This place. Closed book. Assignment #2 is for groups of 3
Chapter 8 Java continued MCQ test next week This time This place Closed book ALERT CS3283 - Hugh Anderson s notes. Page number: 263 CS3283 - Hugh Anderson s notes. Page number: 264 ALERT Last week Assignment
More informationTECHNICAL DOCUMENTATION
TECHNICAL DOCUMENTATION UNDERSTANDING THE JAVA/XML CODE BINDING IN OPENBRAVO POS AND LITTLE EDITING SPONSORED BY: IT-KAMER COMPANY LTD CEO: Dr.-Ing. Stanley Mungwe SONDI Mikael Steve jobs project Cameroon
More informationLISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;
LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;
More informationグラフを表すデータ構造 JAVA での実装
グラフを表すデータ構造 JAVA での実装 グラフの構造を記述するクラス パッケージgraphLib graphlib.graph グラフ全体 graphlib.vertex 頂点 頂点を始点とする弧 頂点を2 次元面に表示するための座標 graphlib.arc 弧の始点と終点 クラスの関係 グラフ 弧一覧 弧 弧 頂点 弧 頂点一覧 頂点 頂点 写像 + 頂点 写像 頂点 写像 δ + GRAPH
More information/* * MoraDrill.java * Version last updated 6 April 2010 * Written by John K. Estell * Created on November 30, 2008, 10:22 PM */
/* * MoraDrill.java * Version 2.1.0 - last updated 6 April 2010 * Written by John K. Estell * Created on November 30, 2008, 10:22 PM */ package MoraDrill; import java.io.inputstream; import java.awt.*;
More informationLAMPIRAN Lampiran Utama. a. Struktur Organisasi
LAMPIRAN 5.1. Lampiran Utama a. Struktur Organisasi b. Flowchart Prosedur Penggajian PT Timatex c. Coding List Class Koneksi package ta_552012010_aprilia; import java.sql.*; public class koneksi { private
More informationLAMPIRAN A : LISTING PROGRAM
46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using
More informationLAMPIRAN. 1. Lampiran Utama. a. Struktur Organisasi Perusahaan
LAMPIRAN 1. Lampiran Utama a. Struktur Organisasi Perusahaan 1 b. Flowchart Pemasukan dan Pengeluaran Benang PT TIGA MANUNGGAL SYNTHETIC INDUSTRIES PROSEDUR PERMINTAAN PEMBELIAN ANALYTIC FLOWCHART KANTOR
More informationHanley s Survival Guide for Visual Applications with NetBeans 2.0 Last Updated: 5/20/2015 TABLE OF CONTENTS
Hanley s Survival Guide for Visual Applications with NetBeans 2.0 Last Updated: 5/20/2015 TABLE OF CONTENTS Glossary of Terms 2-4 Step by Step Instructions 4-7 HWApp 8 HWFrame 9 Never trust a computer
More informationLAMPIRAN PERANGKAT LUNAK
LAMPIRAN PERANGKAT LUNAK package com.fr.core; import com.googlecode.javacv.cpp.opencv_core; import com.googlecode.javacv.cpp.opencv_imgproc; import com.googlecode.javacv.cpp.opencv_objdetect; import java.awt.image.bufferedimage;
More informationLISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);
LISTING PROGRAM FORM PERTAMA : function varargout = pertama(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @pertama_openingfcn,...
More informationExercice G09 (v3) File: Shape.java Project: G09-MiniDraw_v3 1GGE
Exercice G09 (v3) File: Shape.java Project: G09-MiniDraw_v3 1GGE public class Shape private Point from; private Point to; private Color color; public Shape(int px1, int py1, int px2, int py2, Color pcolor)
More informationSEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S1) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG
Saturday, November 00 0: - Last Updated Saturday, November 00 0:5 SEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG SEMESTER I (SEMESTER GANJIL) KODE
More informationLampiran 2 MASTER TABEL
64 Lampiran 2 MASTER TABEL No. No. Responden Umur Pendidikan Pekerjaan Paritas Kanker 1 427363 35 S1 PNS 4 Tidak 2 504024 36 SMA IRT 4 Tidak 3 500316 35 SMA IRT 5 Tidak 4 504014 35 SMA PNS 1 Tidak 5 447158
More informationBased on slides by Prof. Burton Ma
Based on slides by Prof. Burton Ma 1 TV - on : boolean - channel : int - volume : int + power(boolean) : void + channel(int) : void + volume(int) : void Model View Controller RemoteControl + togglepower()
More informationLISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); }
59 LISTING PROGRAM Form Utama : using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation;
More informationLISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()
A-1 LISTING PROGRAM Form Mainform /* * Created by SharpDevelop. * User: Roni Anggara * Date: 5/17/2016 * Time: 8:52 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using
More informationLampiran A. SOURCE CODE PROGRAM
A-1 Lampiran A. SOURCE CODE PROGRAM Frame Utama package FrameDesign; import ArithmeticSkripsi.ArithmeticCompress; import ArithmeticSkripsi.ArithmeticDecompress; import Deflate.DeflateContoh; import java.io.file;
More informationLISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this.
A - 1 LISTING PROGRAM 1. Form Menu Utama using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace KompresiCitra / / Description of MainForm.
More informationCOMP16121 Sample Code Lecture 1
COMP16121 Sample Code Lecture 1 Sean Bechhofer, University of Manchester, Manchester, UK sean.bechhofer@manchester.ac.uk 1 SimpleFrame 1 import javax.swing.jframe; 2 3 public class SimpleFrame { 4 5 /*
More informationPART 23. Java GUI Advanced JList Component. more items.
PART 23 Java GUI Advanced 23.1 JList Component JList is a component that displays a list of objects. It allows the user to select one or more items. import java.awt.color; import java.awt.eventqueue; import
More informationLISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr.
Kode Program Form Home namespace SkripsiLagi public partial class Form9 : Form public Form9() LISTING PROGRAM private void filetoolstripmenuitem_click(object sender, EventArgs e) Form2 fr = new Form2();
More informationLISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() call. //
1. MainForm.cs using System.Collections.Generic; using System.Drawing; LISTING PROGRAM / / Description of MainForm. / public partial class MainForm : Form public MainForm() The InitializeComponent()
More information1 Using the NetBeans IDE
Chapter 1: Using the NetBeans IDE 5 1 Using the NetBeans IDE In this chapter we will examine how to set up a new application program using the NetBeans Integrated Development Environment with the language
More informationimport java.applet.applet; import java.applet.audioclip; import java.net.url; public class Vjesala2 {
import java.awt.color; import java.awt.flowlayout; import java.awt.font; import java.awt.gridlayout; import java.awt.event.actionevent; import java.awt.event.actionlistener; import javax.swing.jbutton;
More informationProctors are unable to respond to queries about the interpretation of exam questions. Do your best to answer exam questions as written.
HAND IN Answers Are Recorded on Question Paper QUEEN'S UNIVERSITY SCHOOL OF COMPUTING CISC212, FALL TERM, 2006 FINAL EXAMINATION 7pm to 10pm, 19 DECEMBER 2006, Jeffrey Hall 1 st Floor Instructor: Alan
More information% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;
A-2 'gui_openingfcn', @AiSoftware_OpeningFcn,... 'gui_outputfcn', @AiSoftware_OutputFcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});
More informationSampleApp.java. Page 1
SampleApp.java 1 package msoe.se2030.sequence; 2 3 /** 4 * This app creates a UI and processes data 5 * @author hornick 6 */ 7 public class SampleApp { 8 private UserInterface ui; // the UI for this program
More informationCSCI 201L Midterm Written SOLUTION Fall % of course grade
CSCI 201L Midterm Written SOLUTION Fall 2015 10% of course grade 1. Inheritance Answer the following questions about inheritance. a. Does Java allow overloading, overriding, and redefining of methods?
More informationA-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara
A-1 LAMPIRAN A A LISTING PROGRAM Kode Program Form Main: #Region Project Attributes #ApplicationLabel: Samuel Panjaitan #VersionCode: 1 #VersionName: #SupportedOrientations: portrait #CanInstallToExternalStorage:
More informationINFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN
INFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN PUBLIKASI ILMIAH This Final Project is Compiled as a Condition to Complete Bachelor Degree Program at Department of Informatics
More informationChapter 13 Lab Advanced GUI Applications
Gaddis_516907_Java 4/10/07 2:10 PM Page 113 Chapter 13 Lab Advanced GUI Applications Objectives Be able to add a menu to the menu bar Be able to use nested menus Be able to add scroll bars, giving the
More informationLISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara
A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True
More informationProctors are unable to respond to queries about the interpretation of exam questions. Do your best to answer exam questions as written.
SOLUTION HAND IN Answers Are Recorded on Question Paper QUEEN'S UNIVERSITY SCHOOL OF COMPUTING CISC212, FALL TERM, 2006 FINAL EXAMINATION 7pm to 10pm, 19 DECEMBER 2006, Jeffrey Hall 1 st Floor Instructor:
More informationNearby Search Indekos Based Android Using A Star (A*) Algorithm
Journal of Physics: Conference Series PAPER OPEN ACCESS Nearby Search Indekos Based Android Using A Star (A*) Algorithm To cite this article: B Siregar et al 2018 J. Phys.: Conf. Ser. 978 012084 View the
More informationDaftar Pustaka.
Daftar Pustaka Dennis, Alan. (2012). Systems Analysis and Design with UML 2.0. Ian Sommerville. (2011). Waterfall Model. Solichin, A. (2005). Pemrograman Web dengan PHP dan MySQL. Retrieved from http://www.informatika.unsyiah.ac.id/arie/pbw/pemrograman_web_dengan_php_mysq
More informationOur first program is a simple calculator, which will carry out the arithmetic operations of adding, subtracting, multiplying and dividing numbers.
Chapter 2: Calculations 29 2 Calculations Most computer programs need to carry out calculations, for example: with money, quantities of materials, or dates and times. In this chapter, we will examine how
More information17 GUI API: Container 18 Hello world with a GUI 19 GUI API: JLabel 20 GUI API: Container: add() 21 Hello world with a GUI 22 GUI API: JFrame: setdefau
List of Slides 1 Title 2 Chapter 13: Graphical user interfaces 3 Chapter aims 4 Section 2: Example:Hello world with a GUI 5 Aim 6 Hello world with a GUI 7 Hello world with a GUI 8 Package: java.awt and
More information// autor igre Ivan Programerska sekcija package mine;
// autor igre Ivan Bauk @ Programerska sekcija package mine; import java.awt.color; import java.awt.flowlayout; import java.awt.gridlayout; import java.awt.event.actionevent; import java.awt.event.actionlistener;
More informationLISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()
A- 1 LISTING PROGRAM Form1.cs (Pengirim) /* * Created by SharpDevelop. * User: Lia * Date: 3/13/2017 * Time: 9:43 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using
More informationControl Statements: Part Pearson Education, Inc. All rights reserved.
1 5 Control Statements: Part 2 5.2 Essentials of Counter-Controlled Repetition 2 Counter-controlled repetition requires: Control variable (loop counter) Initial value of the control variable Increment/decrement
More informationChapter 13 Lab Advanced GUI Applications Lab Objectives. Introduction. Task #1 Creating a Menu with Submenus
Chapter 13 Lab Advanced GUI Applications Lab Objectives Be able to add a menu to the menu bar Be able to use nested menus Be able to add scroll bars, giving the user the option of when they will be seen.
More informationVisit for more.
Chapter 6: Database Connectivity Informatics Practices Class XII (CBSE Board) Revised as per CBSE Curriculum 2015 Visit www.ip4you.blogspot.com for more. Authored By:- Rajesh Kumar Mishra, PGT (Comp.Sc.)
More informationExercice G02 (v2) File: MovingBall.java Project: G02-Smileys_v2 1GGE
Exercice G02 (v2) File: MovingBall.java Project: G02-Smileys_v2 1GGE public class MovingBall /* * Version 2: * * Solution en ajoutant la classe Emoticon qui hérite de MovingBall et qui dessine le partie
More informationListing Progam. Universitas Sumatera Utara
60 Listing Progam Listing Program Tabel Index
More informationAn Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security
Journal of Physics: Conference Series PAPER OPEN ACCESS An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security To cite this article: M A Budiman et al
More informationGoals. Lecture 7 More GUI programming. The application. The application D&D 12. CompSci 230: Semester JFrame subclass: ListOWords
Goals By the end of this lesson, you should: Lecture 7 More GUI programming 1. Be able to write Java s with JTextField, JList, JCheckBox and JRadioButton components 2. Be able to implement a ButtonGroup
More informationCSCI 201L Midterm Written Fall % of course grade
CSCI 201L Midterm Written Fall 2015 10% of course grade 1. Inheritance Answer the following questions about inheritance. a. Does Java allow overloading, overriding, and redefining of methods? (0.5%) b.
More informationA Reliable tool for Hospital Administration System
A Reliable tool for Hospital Administration System Govardhana.G 1, Dr. R. Chinnaiyan 2 1. PG Scholar, Department of MCA, New Horizon College of Engineering ( Autonomous), VTU, Bangalore 2. Professor, Department
More informationGetting started with Java
Getting started with Java by Vlad Costel Ungureanu for Learn Stuff Programming Languages A programming language is a formal constructed language designed to communicate instructions to a machine, particularly
More informationProctors are unable to respond to queries about the interpretation of exam questions. Do your best to answer exam questions as written.
HAND IN Answers Are Recorded on Question Paper QUEEN'S UNIVERSITY SCHOOL OF COMPUTING CISC124, WINTER TERM, 2009 FINAL EXAMINATION 7pm to 10pm, 18 APRIL 2009, Dunning Hall Instructor: Alan McLeod If the
More informationCURRICULUM VITAE. Address : Kp. Jeprah Rt 01/11 No. 72 Jonggol Bogor Jawa Barat, Indonesia
CURRICULUM VITAE Personal Information Full Name : Jon Kartago Lamida Place and Date of Birth : Cianjur, 13 December 1985 Religion Nationality Sex Marital Status : Islam : Indonesia : Male : Single Address
More informationPage 1 of 16. Proctors are unable to respond to queries about the interpretation of exam questions. Do your best to answer exam questions as written.
Page 1 of 16 SOLUTION HAND IN Answers Are Recorded on Question Paper QUEEN'S UNIVERSITY SCHOOL OF COMPUTING CISC212, FALL TERM, 2005 FINAL EXAMINATION 9am to 12noon, 19 DECEMBER 2005 Instructor: Alan McLeod
More informationJRadioButton account_type_radio_button2 = new JRadioButton("Current"); ButtonGroup account_type_button_group = new ButtonGroup();
Q)Write a program to design an interface containing fields User ID, Password and Account type, and buttons login, cancel, edit by mixing border layout and flow layout. Add events handling to the button
More informationUniversity of Palestine. Mid Exam Total Grade: 100
First Question No. of Branches (5) A) Choose the correct answer: 1. If we type: system.out.println( a ); in the main() method, what will be the result? int a=12; //in the global space... void f() { int
More informationsearch value 94 not found
230 Java Programming for A-level Computer Science 9 Searching In the second part of this chapter, we will turn our attention to methods for finding a particular record within a set of data. The method
More informationINFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED
INFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED Arranged as requisite to complete scholar program in Informatics Enginering of Communication and Informatics
More informationC: THE PROGRAM Devin Kwok: Dossier 2008
C: THE PROGRAM Devin Kwok: Dossier 2008 C.I: Using Good Programming Style C.I.i: Package: com.gmai.kwok.devin.gui.frame Class: Main 01 package com.gmail.kwok.devin.gui.frame; 02 03 import javax.swing.jframe;
More informationAustralian Journal of Basic and Applied Sciences. Generalized Models for Internet Pricing Scheme under Multi Class QoS Networks
AENSI Journals Australian Journal of Basic and Applied Sciences ISSN:1991-8178 Journal home page: www.ajbasweb.com Generalized Models for Internet Pricing Scheme under Multi Class QoS Networks 1 Irmeilyana,
More informationWEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY
International Conference on Information Systems for Business Competitiveness (ICISBC 203) 372 WEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY Siti Sa uda ) Qoriani Widayati
More informationSQream Connector JDBC SQream Technologies Version 2.9.3
SQream Connector JDBC 2.9.3 SQream Technologies 2019-03-27 Version 2.9.3 Table of Contents The SQream JDBC Connector - Overview...................................................... 1 1. API Reference............................................................................
More informationThe class definition is not a program by itself. It can be used by other programs in order to create objects and use them.
Data Classes and Object-Oriented Programming Data classes can be motivated by the need to create data structures that have grouped together a number of variables of simpler type (ints, Strings, arrays)
More informationCSCI 201L Midterm Written Summer % of course grade
CSCI 201L Summer 2016 10% of course grade 1. Abstract Classes and Interfaces Give two differences between an interface and an abstract class in which all of the methods are abstract. (0.5% + 0.5%) 2. Serialization
More informationThe Observation of Bahasa Indonesia Official Computer Terms Implementation in Scientific Publication
Journal of Physics: Conference Series PAPER OPEN ACCESS The Observation of Bahasa Indonesia Official Computer Terms Implementation in Scientific Publication To cite this article: D Gunawan et al 2018 J.
More informationGraphical User Interface
Lecture 10 Graphical User Interface An introduction Sahand Sadjadee sahand.sadjadee@liu.se Programming Fundamentals 725G61 http://www.ida.liu.se/~725g61/ Department of Computer and Information Science
More informationCSE 142 Su 04 Computer Programming 1 - Java. Objects
Objects Objects have state and behavior. State is maintained in instance variables which live as long as the object does. Behavior is implemented in methods, which can be called by other objects to request
More informationA-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara
A-1 LISTING PROGRAM 1. Form1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronPython.Hosting; using Microsoft.Scripting;
More informationLISTING PROGRAM. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a.
130 LISTING PROGRAM 1. Mainform.cs using System; using System.Drawing; using System.Windows.Forms; namespace AnalisisPerbandinganFilertingdanDeteksiTepi public partial class MainForm : Form public MainForm()
More informationLISTING PROGRAM. 1. Tampilan Awal. 2. Menu Login. Public Class Awal
LISTING PROGRAM 1. Tampilan Awal Public Class Awal Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ProgressBar1.Increment(10) If ProgressBar1.Value
More informationCS313D: ADVANCED PROGRAMMING LANGUAGE
CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science Department Lecture 3: C# language basics Lecture Contents 2 C# basics Conditions Loops Methods Arrays Dr. Amal Khalifa, Spr 2015 3 Conditions and
More informationProctors are unable to respond to queries about the interpretation of exam questions. Do your best to answer exam questions as written.
QUEEN'S UNIVERSITY SCHOOL OF COMPUTING HAND IN Answers Are Recorded on Question Paper CMPE212, FALL TERM, 2012 FINAL EXAMINATION 18 December 2012, 2pm Instructor: Alan McLeod If the instructor is unavailable
More information10 Object oriented programming
250 Java Programming for A-level Computer Science 10 Object oriented programming Java is an object oriented programming language. The use of objects has a number of important advantages, particularly when
More information13 th Windsor Regional Secondary School Computer Programming Competition
SCHOOL OF COMPUTER SCIENCE 13 th Windsor Regional Secondary School Computer Programming Competition Hosted by The School of Computer Science, University of Windsor WORKSHOP I [ Overview of the Java/Eclipse
More informationThe Implementation of Alert System for LAN Network Monitoring Using the Dude Based
IOP Conference Series: Materials Science and Engineering PAPER OPEN ACCESS The Implementation of Alert System for LAN Network Monitoring Using the Dude Based Email To cite this article: E A Z Hamidi et
More informationSHORTEST PATH WITH DYNAMIC WEIGHT IMPLEMENTATION USING DIJKSTRA S ALGORITHM
SHORTEST PATH WITH DYNAMIC WEIGHT IMPLEMENTATION USING DIJKSTRA S ALGORITHM Elizabeth Nurmiyati Tamatjita 1 ; Aditya Wikan Mahastama 2 1 Department of Informatics, Sekolah Tinggi Teknologi Adisutjipto
More informationwhile (rs.next()) { String[] temp_array = {"","",""}; int prodid = rs.getint(1); temp_array[0] = ""+prodid;
import java.sql.connection; import java.sql.drivermanager; import java.sql.resultset; import java.sql.sqlexception; import java.sql.statement; import java.util.arraylist; import java.util.scanner; public
More information1.1 GUI. JFrame. import java.awt.*; import javax.swing.*; public class XXX extends JFrame { public XXX() { // XXX. init() main() public static
18 7 17 1 1.1 GUI ( ) GUI ( ) JFrame public class XXX extends JFrame { public XXX() { // XXX // init()... // ( )... init() main() public static public class XXX extends JFrame { public XXX() { // setsize(,
More informationMultiple Choice Questions: Identify the choice that best completes the statement or answers the question. (15 marks)
M257 MTA Spring2010 Multiple Choice Questions: Identify the choice that best completes the statement or answers the question. (15 marks) 1. If we need various objects that are similar in structure, but
More informationImplementacja: /* * JFrame.java */ /** tkubik */
Źródło w IDL: module MTestApp { interface MInformator { long GetCallNumber(); void AddToSum(in long i, out long sum); ; ; Kompilacja: javac -classpath "/home/tkubik/forte4j/sources/:.mtestapp/" *java MTestApp/*java
More informationDEVELOPMENT OF ACCOUNTING INFORMATION SYSTEM AT PKU MUHAMMADIYAH KUTOARJO
DEVELOPMENT OF ACCOUNTING INFORMATION SYSTEM AT PKU MUHAMMADIYAH KUTOARJO PUBLIKASI ILMIAH This Final Project Compiled as a Condition to Complete Bachelor Degree Program at the Informatics Department Faculty
More informationProf. Edwar Saliba Júnior
2 3 /** 4 * 5 * @author Cynthia Lopes 6 * @author Edwar Saliba Júnior 7 */ 8 import java.io. o.filenotfoundexception; 9 import java.io. o.ioexception; 10 import java.sql.sqlexception; 11 import java.sql.statement;
More information