Back to index

wims  3.65+svn20090927
Public Member Functions | Static Public Member Functions | Package Attributes | Private Member Functions | Private Attributes
Rekenmachien Class Reference
Inheritance diagram for Rekenmachien:
Inheritance graph
[legend]
Collaboration diagram for Rekenmachien:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init ()
void initlisteners ()
void inittextareas ()
void initpopups ()
void initfonts ()
void initparams ()
void plot (String S)
void calculate (String S)
String RawMath (String i)
String ConvertLog (String t)
void paint (Graphics g)
String ReadApplet ()
String getAppletInfo ()
String truncate (double t)
void start ()
void stop ()
void run ()

Static Public Member Functions

static String replace (String source, String pattern, String replace)

Package Attributes

GraphWindow graphwindow = new GraphWindow()
InputWindow inputwindow = new InputWindow()
boolean visible = false
Font myfont1
Font myfont2
Font myfont3
int font_size1 = 12
int font_size2 = 12
int font_size3 = 14
int frame_x = 300
int frame_y = 240
int x0 = 300
int y0 = 300
int rounding = 6
int R1 = 225
int G1 = 255
int B1 = 255
double precision = 0.000001
DecimalFormat decformat
Color pencolor1
Color pencolor2
Color bgcolor1
Color bgcolor2
String rem1 = "\u2023 Mathematical error"
String rem2 = "\u2023 Nonsense Error"
String rem3 = "\u2023 calculator"
String rem4 = "\u2023 done"
String rem5 = "\u2023 ln(e)=1 log(10)=1"
String rem6 = "\u2023 Usage [click open/close]"
String rem7 = "\u2023 Please wait..."
String rem8
String rem9 = "\u2023 precision"
String rem10
String rem11 = "\u2023 You could also erase this text...\n and type in your formula or calculation...\n Press Enter to start calculations."

Private Member Functions

String sqrtn (String t)
String logn (String t)

Private Attributes

JTextField input
JTextField output
JTextField remarks

Detailed Description

Definition at line 61 of file Rekenmachien.java.


Member Function Documentation

void Rekenmachien.calculate ( String  S) [inline]

Definition at line 325 of file Rekenmachien.java.

                                   {
       S=replace(S,"?","");
       S=RawMath(S);
       if(S.length()>1){
           String remark="";
           S=replace(S,",",".");
           S=replace(S,"**","^");
           S=S.toLowerCase();
           S=replace(S,"sqr(","sqrt(");/* common error */
           if(S.indexOf("sqrt[") != -1){S=sqrtn(S);} /* sqrt[3](4) = 4^(1/3) ... */
           if(S.indexOf("log[") != -1){S=logn(S);} /* log[3](4) = log(4)/log(3) ... */
           for(int s=0;s<3;s++){/* arity lib throws errors +-5-+3------23 etc */
              S=replace(S,"+-","-");
               S=replace(S,"-+","-");
              S=replace(S,"--","+");
               S=replace(S,"++","+");
           }
           if(S != null){
              if(S.indexOf("x")!=-1 || S.indexOf("y")!=-1 ){ /* function to plot */
                  plot(S);
              }
              else
              { double result=0.0D;/* double is needed for Arity libs */
                  Symbols symbols=new Symbols(); /* Arity */
                  String ex[]=S.split("=");
                  String out="";
                  try { 
                  result=symbols.eval(ex[ex.length-1]); /* try to call arity  for evaluation */
                  if(result == Double.POSITIVE_INFINITY){out="\u221E";}
                  else
                  if(result == Double.NEGATIVE_INFINITY){out="-\u221E";}
                  else
                  if(result == Double.NaN){out="NaN (Not A Number)";}
                  else
                  if(result == Math.PI){out="-\u03C0";}
                  else
                  if(result == Math.E){out="e";}
                  else
                  out=truncate(result);
                            
                  output.setText("\u2023 "+out);remarks.setText(rem4+remark);
                  } catch (SyntaxException e) {output.setText("\u2023 ?");remarks.setText(rem1+remark);}
              }
           }
           else
           {
              output.setText(rem2);
               remarks.setText(rem4+remark);
           }        
       }
       else
       {
           output.setText("\u2023 ");
           remarks.setText(rem6);
       }
       input.setText("? ");
       input.setCaretPosition(2); /* first 2 positions are: ? [space] */
    }

Here is the call graph for this function:

Here is the caller graph for this function:

String Rekenmachien.ConvertLog ( String  t) [inline]

Definition at line 429 of file Rekenmachien.java.

                                      {
       int begin=t.indexOf("log(");
       if(begin==-1){t=replace(t,"ln","log");return t;}
       int tot;int Got;int Wait;int End;char chr;int s;
       String value;String L;String R;
       while (begin >= 0){
           begin=t.indexOf("log(");
           tot=t.length();
           Wait=0;Got=0;End=0;
           for(s=begin+3;s<tot;s++){
              if(End==0){
                  chr=t.charAt(s);
                  if(chr=='('){Wait=Wait+1;}
                  if(chr==')'){Got=Got+1;}
                  if(Got!=0){if(Wait==Got){End=s;}}
              }
           }
           //System.out.println("begin="+begin+" end="+End);
           
           value=t.substring(begin+4,End);
           L="log("+value+")";R="(@("+value+")/(@(10)))";
           t=replace(t,L,R);
       }
       t=replace(t,"@","log");
       t=replace(t,"ln","log");
       //System.out.println("corrected log() -> log10() "+t);
       return t;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

String Rekenmachien.getAppletInfo ( ) [inline]

Definition at line 568 of file Rekenmachien.java.

                                 {
       return "Java Calculator\n \u2023 using \"Arity\" library\n \u2023 normal arithmetics \n \u2023 sin(),cos(),tan(),sinh(),etc() \n \u2023 sqrt() sqrt[n]() log() \n \u2023 javascript communication [WIMS] \n \u2023 precision adjustable [\u00B1 "+precision+"]\nJ.M. Evers 10/2008";
    }
void Rekenmachien.init ( ) [inline]

Definition at line 87 of file Rekenmachien.java.

                      {
       initparams();
       initfonts();
       inittextareas();
       setLayout(new GridLayout(3, 1));
       initpopups();
       initlisteners();
    }

Here is the call graph for this function:

void Rekenmachien.initfonts ( ) [inline]

Definition at line 161 of file Rekenmachien.java.

                           {
       myfont1 = new Font("Helvetica", Font.BOLD, font_size1);
       myfont2 = new Font("Helvetica", Font.BOLD, font_size2);
       myfont3 = new Font("Helvetica", Font.BOLD, font_size3);
    }

Here is the caller graph for this function:

void Rekenmachien.initlisteners ( ) [inline]

Definition at line 96 of file Rekenmachien.java.

                               {
       // enter and arrow_down is accepted for starting the calculation in the input field
       input.addKeyListener( new KeyAdapter() {
           public void keyPressed(KeyEvent evt) {
              if(evt.getKeyCode() == evt.VK_ENTER  || evt.getKeyCode() == evt.VK_DOWN ){
                  repaint();
              }
           }
       });

       inputwindow.textarea.addKeyListener( new KeyAdapter() {
           public void keyPressed(KeyEvent evt) {
              if(evt.getKeyCode() == evt.VK_ENTER  || evt.getKeyCode() == evt.VK_DOWN ){
                  repaint();
              }
           }
       });
       
       // remarks area accepts mouse_click to set the GraphWindow frame visible/invisible
       remarks.addMouseListener( new MouseAdapter(){
           public void mousePressed(MouseEvent e){
              if(visible){
                  inputwindow.setVisible(false);
                  visible=false;
              }
              else
              {
                  inputwindow.setVisible(true);
                  visible=true;
              }
           }
       });    
    }

Here is the caller graph for this function:

void Rekenmachien.initparams ( ) [inline]

Definition at line 167 of file Rekenmachien.java.

                            {
        String param="";
       param=getParameter("language");
       if(param!=null && param.length()>0){
           if(param.equalsIgnoreCase("nl")){
              rem1="\u2023 Wiskundige fout";
              rem2="\u2023 Onzinnige invoer";
              rem3="\u2023 rekenmachine";
              rem4="\u2023 klaar";
              rem5="\u2023 ln(e)=1 log(10)=1";
              rem6="\u2023 info [klik open & dicht]";
              rem7="\u2023 even geduld...";
              rem9="\u2023 precisie";
              rem11="\u2023 Je mag deze tekst ook wissen...\n en dit venster gebruiken voor de berekening \n en druk \"enter\" om je berekening te starten";
           } 
           else
           {
              if(param.equalsIgnoreCase("de")){
                  rem1="\u2023 Mathematik Fehler";
                  rem2="\u2023 Nonsense Fehler";
                  rem3="\u2023 Taschenrechner";
                  rem4="\u2023 fertig";
                  rem5="\u2023 ln(e)=1 log(10)=1";
                  rem6="\u2023 info [click open & close]";
                  rem7="\u2023 einen moment...";
                  rem9="\u2023 precision";
                  rem11="\u2023 You could also erase this text...\n and type in your formula or calculation...\n Press Enter to start calculations.";
              }
              else
              {
                  if(param.equalsIgnoreCase("fr")){
                     rem1="\u2023 Erreur mathematique";
                     rem2="\u2023 Nonsense Erreur";
                     rem3="\u2023 calculateur";
                     rem4="\u2023 fini";
                     rem5="\u2023 ln(e)=1 log(10)=1";
                     rem6="\u2023 info [click open & close]";
                     rem7="\u2023 Please wait...";
                     rem9="\u2023 precision";
                     rem11="\u2023 You could also erase this text...\n and type in your formula or calculation...\n Press Enter to start calculations.";
                  }
              }
           }
       }

       // display precision 
       param=getParameter("decimals");
       if(param!=null && param.length()>0){
           rounding =Integer.parseInt(param, 10);
           precision=(double) 1/(Math.pow(10,rounding));
       }
       String numformat="#.";
       for(int n=0;n<rounding;n++){
           numformat=numformat+"#";
       }
       decformat = new DecimalFormat(numformat);

       // very slow java tooltip text: multiline through HTML
       rem8="<html><body bgcolor=white><ul><li>\u2023"+rem9+": \u00B1 "+precision+"</li><li>6*(123/4+1234/5)/(7+9)</li><li>(123^(4/3)+5)/6</li><li>sqrt(123/4)/5</li><li>sqrt[3](1234)</li><li>sin(2*pi)</li><li>sinh(pi)</li><li>log(123)/log(10)</li><li>ln(e)=log(e)=1</li></ul>";
       rem10=rem9+": \u00B1 "+precision+"\n\u2023 sqrt[3](1234) \n\u2023 sin(2*pi) \n\u2023 sinh(pi) \n\u2023 log(123)/log(10) [ ln(e) == log(e) = 1 ]\n"+rem11;
       // adjust the GraphWindow frame...
       param=getParameter("frame_xsize");
       if(param!=null && param.length()>0){frame_x = Integer.parseInt(param, 10);}
       param=getParameter("frame_ysize");
       if(param!=null && param.length()>0){frame_y = Integer.parseInt(param, 10);}
       param=getParameter("location_x");
       if(param!=null && param.length()>0){x0 = Integer.parseInt(param, 10);}
       param=getParameter("location_y");
       if(param!=null && param.length()>0){y0 = Integer.parseInt(param, 10);}
       // adjust the fonts
       param=getParameter("fontsize1");
       if(param!=null && param.length()>0){font_size1 = Integer.parseInt(param, 10);}
       param=getParameter("fontsize2");
       if(param!=null && param.length()>0){font_size2 = Integer.parseInt(param, 10);}
       param=getParameter("fontsize3");
       if(param!=null && param.length()>0){font_size3 = Integer.parseInt(param, 10);}
       // adjust the pen colours
       param=getParameter("pencolor1"); // foreground color of inputfield "input"
       if (param != null && param.length()>0){
           param=param.replace(':',',');param=param.replace(';',',');
           StringTokenizer q = new StringTokenizer(param, ",");
           String k;int rgb;
           for( int a=0; a<3 ; a++){
              k=q.nextToken();
              rgb=Integer.parseInt(k, 10);
              if(rgb<0){rgb=0;}
              if(rgb>255){rgb=255;}
              if(a == 0){R1 = rgb;}
              else if(a == 1){G1 = rgb;}
              else if(a == 2){B1 = rgb;}
           }
           pencolor1=new Color(R1,G1,B1);
       }
       param=getParameter("pencolor2"); // foreground color of inputfield "input"
       if (param != null && param.length()>0){
           param=param.replace(':',',');param=param.replace(';',',');
           StringTokenizer q = new StringTokenizer(param, ",");
           String k;int rgb;
           for( int a=0; a<3 ; a++){
              k=q.nextToken();
              rgb=Integer.parseInt(k, 10);
              if(rgb<0){rgb=0;}
              if(rgb>255){rgb=255;}
              if(a == 0){R1 = rgb;}
              else if(a == 1){G1 = rgb;}
              else if(a == 2){B1 = rgb;}
           }
           pencolor2=new Color(R1,G1,B1);
       }
       // adjust the background colours
       param=getParameter("bgcolor1"); // Background color of inputfield "input"
       if (param != null && param.length()>0){
           param=param.replace(':',',');param=param.replace(';',',');
           StringTokenizer q = new StringTokenizer(param, ",");
           String k;int rgb;
           for( int a=0; a<3 ; a++){
              k=q.nextToken();
              rgb=Integer.parseInt(k, 10);
              if(rgb<0){rgb=0;}
              if(rgb>255){rgb=255;}
              if(a == 0){R1 = rgb;}
              else if(a == 1){G1 = rgb;}
              else if(a == 2){B1 = rgb;}
           }
           bgcolor1=new Color(R1,G1,B1);
       }
       param=getParameter("bgcolor2"); // Background color of canvas
       if (param != null && param.length()>0){
           param=param.replace(':',',');param=param.replace(';',',');
           StringTokenizer q = new StringTokenizer(param, ",");
           String k;int rgb;
           for( int a=0; a<3 ; a++){
              k=q.nextToken();
              rgb=Integer.parseInt(k, 10);
              if(rgb<0){rgb=0;}
              if(rgb>255){rgb=255;}
              if(a == 0){R1 = rgb;}
              else if(a == 1){G1 = rgb;}
              else if(a == 2){B1 = rgb;}
           }
           bgcolor2=new Color(R1,G1,B1);
       }    
    } 

Here is the caller graph for this function:

void Rekenmachien.initpopups ( ) [inline]

Definition at line 152 of file Rekenmachien.java.

                            {
       inputwindow.setSize(frame_x,frame_y);
       inputwindow.setLocation(x0,y0);
       inputwindow.textarea.setFont(myfont3);
       inputwindow.textarea.setBackground(bgcolor1);
       inputwindow.panel1.setBackground(bgcolor1);
       graphwindow.setSize(frame_x,frame_y);
       graphwindow.setLocation(x0+20,y0+20);
    }

Here is the caller graph for this function:

void Rekenmachien.inittextareas ( ) [inline]

Definition at line 130 of file Rekenmachien.java.

                               {
       input=new JTextField(font_size1);
       output=new JTextField(font_size2);
       remarks=new JTextField(font_size2);
       input.setForeground(pencolor1);
       output.setForeground(pencolor2);
       remarks.setForeground(pencolor2);
       input.setBackground(bgcolor1);
       output.setBackground(bgcolor2);        
       remarks.setBackground(bgcolor2);       
       input.setFont(myfont1);
       output.setFont(myfont2);
       remarks.setFont(myfont2);
       add(input);add(output);add(remarks);
       input.setText("? ");
       output.setText("\u2023 "); 
       remarks.setText(rem6);
       // only a tooltip over the remark inputfield
       remarks.setToolTipText(rem8); 
       input.setCaretPosition(2); 
    }

Here is the caller graph for this function:

String Rekenmachien.logn ( String  t) [inline, private]

Definition at line 533 of file Rekenmachien.java.

                                 {/* function to replace sqrt[g](n) by n^(1/g) */
       int begin=t.indexOf("log[");
       String org=t;
       int tot;int Got;int Wait;int End;char chr;int s;int restart;
       String value;String exp;String val;String L;String R;int cnt=0;
       while (begin >= 0){
           cnt++;if(cnt>1000){remarks.setText("log[]() syntax error");}
           tot=t.length();Wait=0;Got=0;End=0;
           for(s=begin+3;s<tot;s++){
              if(End==0){
                  chr=t.charAt(s);
                  if(chr=='['){Wait=Wait+1;}
                  if(chr==']'){Got=Got+1;}
                  if(Got!=0){if(Wait==Got){End=s;}}
              }
           }
           restart=End;    
           exp=t.substring(begin+4,End);
           Wait=0;Got=0;End=0;
           for(s=restart;s<tot;s++){
              if(End==0){
                  chr=t.charAt(s);
                  if(chr=='('){Wait=Wait+1;}
                  if(chr==')'){Got=Got+1;}
                  if(Got!=0){if(Wait==Got){End=s;}}
              }
           }
           val=t.substring(restart+2,End);
           R="(log("+val+"))/(log("+exp+"))";L="log["+exp+"]("+val+")";
           t=replace(t,L,R);
           begin=t.indexOf("log[");
       }
       return t;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void Rekenmachien.paint ( Graphics  g) [inline]

Definition at line 458 of file Rekenmachien.java.

                                 {
       String S=input.getText();
       String SS=inputwindow.textarea.getText();
       if(SS.length() > S.length()){S=SS;inputwindow.textarea.setText("");}
       calculate(S);
    }

Here is the call graph for this function:

void Rekenmachien.plot ( String  S) [inline]

Definition at line 312 of file Rekenmachien.java.

                              {
       remarks.setText("\u2023 function plot"); /* not really fine ; will need some work... */
       input.setText("? ");
       output.setText("\u2023 ?");
       if(S.indexOf("=") != -1){
           S=S.substring(S.indexOf("=")+1);
       }
       //System.out.println(S);
       graphwindow.plotfunction(S);
       graphwindow.setVisible(true);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

String Rekenmachien.RawMath ( String  i) [inline]

Definition at line 384 of file Rekenmachien.java.

                                   {
       i=i.toLowerCase();
       i=i.replace(" ","");
       i=i.replace("**","^");
       if(i.indexOf("e+")!=-1){i=i.replace("e+","*10^");}
       if(i.indexOf("e-")!=-1){i=i.replace("e-","*10^-");}
       i=i.replace("**","*");
       String[] fun={"sin","cos","tan","log","ln","pi","e"};
       String[] cons={"pi","e","0","1","2","3","4","5","6","7","8","9"};
       for(int p=0;p<fun.length;p++){
           for( int d=0;d<cons.length;d++){
              while(i.indexOf(cons[d]+""+fun[p])!=-1){
                  i=i.replace(cons[d]+""+fun[p],cons[d]+"*"+fun[p]);
              }
              while(i.indexOf(fun[p]+""+cons[d])!=-1){
                  i=i.replace(fun[p]+""+cons[d],fun[p]+"*"+cons[d]);
              }
           }
       }
       if(i.indexOf("(")!=-1){
           for(int p=0;p<cons.length;p++){
              if(i.indexOf(cons[p]+"(")!=-1){
                  i=i.replace(cons[p]+"(",cons[p]+"*(");
              }
              if(i.indexOf(")"+cons[p])!=-1){
                  i=i.replace(")"+cons[p],")*"+cons[p]);
              }
           }
           i=i.replace(")(",")*(");
       }
       if(i.indexOf("e")!=-1){
           while(i.indexOf("e")!=-1){
              i=i.replace("e","2.718281828459045");
           }
       }
       if(i.indexOf("pi")!=-1){
           while(i.indexOf("pi")!=-1){
              i=i.replace("pi","3.141592653589793");
           }
       }

       if(i.indexOf("log(")!=-1 || i.indexOf("ln(")!=-1){i=ConvertLog(i);}
       return i;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

String Rekenmachien.ReadApplet ( ) [inline]

Definition at line 485 of file Rekenmachien.java.

                              { /* interface for sending the answer through javascript to WIMS */
       String reply=output.getText();
       String tmp[]=reply.split("\u2023");
       if( tmp[1].length() == 0){
           remarks.setText(rem2); 
           return "error";
       }
       else
       {
           return " "+tmp[1];
       }
    }
static String Rekenmachien.replace ( String  source,
String  pattern,
String  replace 
) [inline, static]

Definition at line 465 of file Rekenmachien.java.

                                                                               { /* java 1.4 lacks decent replace() */
       if (source!=null){
           final int len = pattern.length();
           StringBuffer sb = new StringBuffer();
           int found = -1;
           int start = 0;
           while( (found = source.indexOf(pattern, start) ) != -1){
              sb.append(source.substring(start, found));
              sb.append(replace);
              start = found + len;
           }
           sb.append(source.substring(start));
           return sb.toString();
        }
        else
       {
           return "";
       }
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void Rekenmachien.run ( ) [inline]

Definition at line 581 of file Rekenmachien.java.

{}
String Rekenmachien.sqrtn ( String  t) [inline, private]

Definition at line 498 of file Rekenmachien.java.

                                  {/* function to replace sqrt[g](n) by n^(1/g) */
       int begin=t.indexOf("sqrt[");
       String org=t;
       int tot;int Got;int Wait;int End;char chr;int s;int restart;
       String value;String exp;String val;String L;String R;int cnt=0;
       while (begin >= 0){
           cnt++;if(cnt>1000){remarks.setText("sqrt[]() syntax error");}
           tot=t.length();Wait=0;Got=0;End=0;
           for(s=begin+4;s<tot;s++){
              if(End==0){
                  chr=t.charAt(s);
                  if(chr=='['){Wait=Wait+1;}
                  if(chr==']'){Got=Got+1;}
                  if(Got!=0){if(Wait==Got){End=s;}}
              }
           }
           restart=End;    
           exp=t.substring(begin+5,End);
           Wait=0;Got=0;End=0;
           for(s=restart;s<tot;s++){
              if(End==0){
                  chr=t.charAt(s);
                  if(chr=='('){Wait=Wait+1;}
                  if(chr==')'){Got=Got+1;}
                  if(Got!=0){if(Wait==Got){End=s;}}
              }
           }
           val=t.substring(restart+2,End);
           R="("+val+")^(1/("+exp+"))";L="sqrt["+exp+"]("+val+")";
           t=replace(t,L,R);
           begin=t.indexOf("sqrt[");
       }
       return t;
    }

Here is the call graph for this function:

Here is the caller graph for this function:

void Rekenmachien.start ( ) [inline]

Definition at line 577 of file Rekenmachien.java.

{}

Here is the caller graph for this function:

void Rekenmachien.stop ( ) [inline]

Definition at line 579 of file Rekenmachien.java.

{}
String Rekenmachien.truncate ( double  t) [inline]

Definition at line 572 of file Rekenmachien.java.

                                    {
       String r = decformat.format(precision*(Math.round(t/precision)));     
       return r;    
    }

Here is the caller graph for this function:


Member Data Documentation

int Rekenmachien.B1 = 255 [package]

Definition at line 71 of file Rekenmachien.java.

Color Rekenmachien.bgcolor1 [package]

Definition at line 74 of file Rekenmachien.java.

Color Rekenmachien.bgcolor2 [package]

Definition at line 74 of file Rekenmachien.java.

DecimalFormat Rekenmachien.decformat [package]

Definition at line 73 of file Rekenmachien.java.

int Rekenmachien.font_size1 = 12 [package]

Definition at line 69 of file Rekenmachien.java.

int Rekenmachien.font_size2 = 12 [package]

Definition at line 69 of file Rekenmachien.java.

int Rekenmachien.font_size3 = 14 [package]

Definition at line 69 of file Rekenmachien.java.

int Rekenmachien.frame_x = 300 [package]

Definition at line 70 of file Rekenmachien.java.

int Rekenmachien.frame_y = 240 [package]

Definition at line 70 of file Rekenmachien.java.

int Rekenmachien.G1 = 255 [package]

Definition at line 71 of file Rekenmachien.java.

Definition at line 62 of file Rekenmachien.java.

JTextField Rekenmachien.input [private]

Definition at line 64 of file Rekenmachien.java.

Definition at line 63 of file Rekenmachien.java.

Font Rekenmachien.myfont1 [package]

Definition at line 68 of file Rekenmachien.java.

Font Rekenmachien.myfont2 [package]

Definition at line 68 of file Rekenmachien.java.

Font Rekenmachien.myfont3 [package]

Definition at line 68 of file Rekenmachien.java.

JTextField Rekenmachien.output [private]

Definition at line 65 of file Rekenmachien.java.

Color Rekenmachien.pencolor1 [package]

Definition at line 74 of file Rekenmachien.java.

Color Rekenmachien.pencolor2 [package]

Definition at line 74 of file Rekenmachien.java.

double Rekenmachien.precision = 0.000001 [package]

Definition at line 72 of file Rekenmachien.java.

int Rekenmachien.R1 = 225 [package]

Definition at line 71 of file Rekenmachien.java.

String Rekenmachien.rem1 = "\u2023 Mathematical error" [package]

Definition at line 75 of file Rekenmachien.java.

String Rekenmachien.rem10 [package]

Definition at line 84 of file Rekenmachien.java.

String Rekenmachien.rem11 = "\u2023 You could also erase this text...\n and type in your formula or calculation...\n Press Enter to start calculations." [package]

Definition at line 85 of file Rekenmachien.java.

String Rekenmachien.rem2 = "\u2023 Nonsense Error" [package]

Definition at line 76 of file Rekenmachien.java.

String Rekenmachien.rem3 = "\u2023 calculator" [package]

Definition at line 77 of file Rekenmachien.java.

String Rekenmachien.rem4 = "\u2023 done" [package]

Definition at line 78 of file Rekenmachien.java.

String Rekenmachien.rem5 = "\u2023 ln(e)=1 log(10)=1" [package]

Definition at line 79 of file Rekenmachien.java.

String Rekenmachien.rem6 = "\u2023 Usage [click open/close]" [package]

Definition at line 80 of file Rekenmachien.java.

String Rekenmachien.rem7 = "\u2023 Please wait..." [package]

Definition at line 81 of file Rekenmachien.java.

String Rekenmachien.rem8 [package]

Definition at line 82 of file Rekenmachien.java.

String Rekenmachien.rem9 = "\u2023 precision" [package]

Definition at line 83 of file Rekenmachien.java.

JTextField Rekenmachien.remarks [private]

Definition at line 66 of file Rekenmachien.java.

int Rekenmachien.rounding = 6 [package]

Definition at line 70 of file Rekenmachien.java.

Definition at line 67 of file Rekenmachien.java.

int Rekenmachien.x0 = 300 [package]

Definition at line 70 of file Rekenmachien.java.

int Rekenmachien.y0 = 300 [package]

Definition at line 70 of file Rekenmachien.java.


The documentation for this class was generated from the following file: