Hi in here.
1. Display all Fibonacci numbers up to 99
2. Display all prime numbers up to 99
3. Display all Fibonacci numbers that are also prime numbers up to 99
4. Display 5 randomly generated prime numbers between 1 and 1000
I don't have the exact idea on how to get through my choices 1 - 4!How to ...
Search found 2 matches
- Thu Sep 08, 2011 9:53 am
- Forum: Volume 113 (11300-11399)
- Topic: 11385 - Da Vinci Code
- Replies: 70
- Views: 35317
- Wed Sep 07, 2011 2:05 pm
- Forum: Volume 9 (900-999)
- Topic: 901 - From Databases to XML
- Replies: 3
- Views: 6034
Re: 901 - From Databases To XML
hi, bryan986,
Action Open = new AbstractAction("Open", new ImageIcon("open.gif")) {
public void actionPerformed(ActionEvent e) {
saveOld();
if(dialog.showOpenDialog(null)==JFi… {
readInFile(dialog.getSelectedFile(…
}
SaveAs.setEnabled(true);
}
};
Action Save = new AbstractAction("Save", new ...
Action Open = new AbstractAction("Open", new ImageIcon("open.gif")) {
public void actionPerformed(ActionEvent e) {
saveOld();
if(dialog.showOpenDialog(null)==JFi… {
readInFile(dialog.getSelectedFile(…
}
SaveAs.setEnabled(true);
}
};
Action Save = new AbstractAction("Save", new ...