Package fileInteraction

Examples of fileInteraction.BoardGameWriter


    }
  }

  @Override
  public void receiveFileContents(FileContents file) {
    BoardGameWriter writer = new BoardGameWriter();
    writer.saveBoardGame(file);
    System.out.println("Wordt gesaved naar " + gameFileName);

    amountReady++;
    getCurrentUser().setStatus(FriendStatus.READY);
View Full Code Here


  public void installGame() {
    BoardGameReader boardGameReader = new BoardGameReader();
    File file = boardGameReader.getBoardGame();

    if (file != null) {
      BoardGameWriter boardGameWriter = new BoardGameWriter();
      boardGameWriter.saveBoardGame(file);

      JOptionPane.showMessageDialog(null, "Game installed!",
         "Succes!",
         JOptionPane.INFORMATION_MESSAGE);
    }
View Full Code Here

TOP

Related Classes of fileInteraction.BoardGameWriter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.