Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File f = new File("C:\\Users\\adamc_000\\Desktop\\stocks.ini");
- Properties props = new Properties();
- if (!f.exists()) {
- try {
- props.store(new FileOutputStream(new File(f.toString())),
- "Records Stock Purchases");
- } catch (FileNotFoundException e1) {
- e1.printStackTrace();
- } catch (IOException e1) {
- e1.printStackTrace();
- }
- }
- props.setProperty("GOOG", "0");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement