Results 1 to 2 of 2
  1. #1
    gavin.87 is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Image Storage help


    I am creating a text based java adventure using a java swing client that shows images at certain events during the game. Is there a way of storing the image in a way that when transferring the game from one laptop to another, you do not need to change the path to the image within the code.

    C:\\Users\\user1\\Desktop\\New folder\\OOProj\\images\\sherlock.jpg

    i want to move it to

    this is the path to the image in my game. can the image file itself maybe be stored within a jar file so that you will always reference it in the game.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Actual Storage
    By java software in forum Java Software
    Replies: 0
    Last Post: 10-08-2011, 06:39 PM
  2. Cloud storage
    By jammas615 in forum Forum Lobby
    Replies: 0
    Last Post: 10-06-2011, 08:34 AM
  3. Mass storage
    By MIA6 in forum New To Java
    Replies: 4
    Last Post: 11-02-2009, 07:22 PM
  4. Array storage
    By Stev0 in forum New To Java
    Replies: 6
    Last Post: 04-17-2008, 08:18 AM
  5. String byte storage
    By bozovilla in forum New To Java
    Replies: 1
    Last Post: 11-24-2007, 07:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts