Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

All about programming (Specially c, c++, VB, Java)

Java Programming

Ahmm.May problem po ako about java programming.May project po kase ako about jan.Pinapagaw po kame problem with solution about SEQUENTIAL,SELECTED AND REPITITION.Pahelp nga po ako.Di ko po kase alam yan eh.Kase po 1st year college pa lang ako.Need help po . ASAP. THANKS po na marami.:yipee:
 
mga mam at sir pa help naman po ako .. pa check naman po nitong java na na download ko sa planet source code .. sabi daw po nang classmate ko may mali daw dito .
 

Attachments

  • Stacker.txt
    4.8 KB · Views: 5
Sir, Im studying at STI College also, 2 years course, may alam kaba sa Java Enterprise Edition?
Subject namin is advanced programming, last batch ang topic nla is vb8/vb.net

but kme naun JAVA EE, which is ndi nmin alm kung pnu pti teacher q,

i reported my teacher to STI HQ, na ang tinuturo smin is HTML, nung prelim, ngaung midterm napalitan na JAVA EE, ang problema ndi dw xa marunung... gs2 q mgpaturo kung alam mu sna.. thanks.. hoping for your immediate reply..
 
sir suggest po kau ng CAPSTONE PROJECT "TITLE PROPOSAL" tpos po kung anu pde gmitin na HARDWARE . thnx po :pray:
 
try mo mga ito sir. http://www.onlineweblibrary.com/E-books/Ebook Progrmming/JAVAJSP
Sir, Im studying at STI College also, 2 years course, may alam kaba sa Java Enterprise Edition?
Subject namin is advanced programming, last batch ang topic nla is vb8/vb.net

but kme naun JAVA EE, which is ndi nmin alm kung pnu pti teacher q,

i reported my teacher to STI HQ, na ang tinuturo smin is HTML, nung prelim, ngaung midterm napalitan na JAVA EE, ang problema ndi dw xa marunung... gs2 q mgpaturo kung alam mu sna.. thanks.. hoping for your immediate reply..
 
bossing.. pahelp naman ako.. talagang ZERO ako pagdating sa programming. gusto ko kasi matuto .. anu ba dapat ang una kong matutunan ?
 
Alam nyo po ba kung paano i-compute yung total na Bill sa mga list ng items na inorder na Ordering System? Please help naman po. Salamat. (Ang nasa list po ng order is Siomai(30php), milk tea(45php) tapos ioorder na. Paano po makokompute yung total.):praise:
 
mga master help naman po sa assignment ko sa Java program
kelangan k po kc pgsamhin ung dalawang program in 1...Kelngan po kc ung Sa menu ng JFrame pag click mo dun sa menu item(ex. Save) eh may lalabas na another frame pero ung may label , textfield and button naman po.....un lng po....sana mka help kyo need ko lng po tlga....tnx in advance

gamit ka inheritance or instantiation sa second frame mo.
JFrame. so java yan no? eto code lalagay mo sa actionperformed ng button mo;
new MySecondJFrame().setVisible(true);:)
 
bossing.. pahelp naman ako.. talagang ZERO ako pagdating sa programming. gusto ko kasi matuto .. anu ba dapat ang una kong matutunan ?

structure po ng isang program and basic commands like initializing of variables, displaying of text. what are data types. anmd other programming terminologies like modulus, boolean and etc XD
 
Sir, Sakin naman po ang problema lang sa java calculator ko is halimbawa nag add ako ng 2 numbers like 1+1 ang answer na binibigay sakin is "2.0" imbis na "2" lng

ung ginamit kong data type is Double

Tapos gumamit lng ako ng Char para naman sa shortcut ng mga operators na +, -, /, *, using "Case" and "Break"

Sana makahelp kayo sakin


Code:
package JCalculator;

import java.text.DecimalFormat;
import javax.print.DocFlavor;


public class NewJFrame extends javax.swing.JFrame {
    double total1 = 0;
    double total2 = 0;
    double plusminus;
    
    char math_operator;
    
    int Decimal1;
    
   
    
    public NewJFrame() {
        initComponents();
    }
    private void getOperator(String btnText) {
        math_operator = btnText.charAt(0);
        total1 = total1 + Double.parseDouble(jTextField1.getText());
        jTextField1.setText("");

private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {                                            
        
    }      

private void ClearActionPerformed(java.awt.event.ActionEvent evt) {                                      
      total2 = 0;
      jTextField1.setText("");  


private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
       jTextField1.setText(jTextField1.getText() + jButton1.getText());
        
    }        


private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {                                         
       jTextField1.setText(jTextField1.getText() + jButton5.getText());
    }  


private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        jTextField1.setText(jTextField1.getText() + jButton2.getText());
    }   


private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        jTextField1.setText(jTextField1.getText() + jButton3.getText());
    }  


private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        jTextField1.setText(jTextField1.getText() + jButton4.getText());
    }   


private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {                                         
        jTextField1.setText(jTextField1.getText() + jButton6.getText());
    } 


private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {                                         
       jTextField1.setText(jTextField1.getText() + jButton7.getText());
    } 


private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {                                         
       jTextField1.setText(jTextField1.getText() + jButton8.getText());
    } 


private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {                                         
       jTextField1.setText(jTextField1.getText() + jButton8.getText());
    } 


private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {                                          
        jTextField1.setText(jTextField1.getText() + jButton10.getText());
    } 


private void PlusActionPerformed(java.awt.event.ActionEvent evt) {                                     
        String button_text = Plus.getText();
        
        getOperator(button_text);
    } 


private void EqualsActionPerformed(java.awt.event.ActionEvent evt) {                                       
        switch ( math_operator ) {
case '+':
total2 = total1 + Double.parseDouble(jTextField1.getText());
break;
case '-':
total2 = total1 + Double.parseDouble(jTextField1.getText());
break;
case '/':
total2 = total1 + Double.parseDouble(jTextField1.getText());
break;
case '*':
total2 = total1 + Double.parseDouble(jTextField1.getText());
break;
}

        jTextField1.setText( Double.toString(total2) );
        total1 = 0;
    }                                      

    private void DecimalActionPerformed(java.awt.event.ActionEvent evt) {                                        
        if (Decimal1==0)
        jTextField1.setText(jTextField1.getText()+Decimal.getText());
        Decimal1 = 1;
    }                                       

    private void PlusminusActionPerformed(java.awt.event.ActionEvent evt) {                                          
    plusminus=(Double.parseDouble(String.valueOf(jTextField1.getText())));
    plusminus=plusminus*(-1);
    jTextField1.setText(String.valueOf(plusminus));
    }                                         

    private void SubtractActionPerformed(java.awt.event.ActionEvent evt) {                                         
        String button_text = Subtract.getText();
        getOperator(button_text);
    }       


private void DivideActionPerformed(java.awt.event.ActionEvent evt) {                                       
        String button_text = Divide.getText();
        getOperator(button_text);
    }    


private void MultiplyActionPerformed(java.awt.event.ActionEvent evt) {                                         
        String button_text = Multiply.getText();
        getOperator(button_text);
    }   


public static void main(String args[]) {
        
        //<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 http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new NewJFrame().setVisible(true);
            }
        });
    }


hmm/.. gamit po kayo typecasting.
ex:
double x = 1.5;
int y = (int)x;
 
sir patulong po.. c++ po kami ngayun.. pinapa'program po kami on converting from bit to byte,kb,mb,gb,tb or from any (vice versa).. pwede po pahingi prigram nito ? thanks sir :)
 
Tip: lahat yan powers of 2. So shift ka lang <<.
 
guys need lang ng tulong nyo.

Paano ba to efix ang run time error 94 which is NULL. Im using vb6 with database access.
Everytime ka ng update. Pag wala ng laman ang database is error 94 na. Paano ba to ma resolved yung mag open sya kahit null yung database oh mag pop up lang ng message like ( msgbox" You dont have record yet!") during form load and ma open sa succesffuly kaht alang laman.

Thanks a lot in advance.
 
thanks sa tip sir.. pero di ko pa rin gets..super newbie po ako sa programming ( c++).. :)
 
mga tol sino meron dito nagawa na inventor system for restaurant using vb6 ?? pa copy naman po kasi case study po namain , bale titignan ko lang kung pano ginawa , gagawin namin reference and i promise that i will give proper credits to the owner ..


Thank you so much! More power to this thread!!
 
Sino po gumagamit ng MVC 4 and SQL Server Reporting Services dito? Need help! :)
 
pahelp po paano ko po maprove ang A intersection B intersection C = A' union B' union C'?
using java program po salamat
 
:help:
TS bka po may mga java mini games ka po na ginawa sa netbeans pwede po pa post??? salamat ng marami... badly needed lang...
:pray:
 
Back
Top Bottom