public class Calculator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
filterContent(char c)
Filters and removes illegal characters ( a-z, A-Z, $, &, #, @ etc)
|
static void |
main(java.lang.String[] args) |
void |
pack()
Packs the elements to respective panel and adds panel to frame.
|
void |
setFooterText(java.lang.String text)
Sets footer text
|
void |
show()
Displays the frame
|
public void filterContent(char c)
c
- (char) character sent from KeyPressed eventpublic static void main(java.lang.String[] args)
public void pack()
public void setFooterText(java.lang.String text)
text
- (String) footer textpublic void show()