Problem extracting a text file from a jar


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Problem extracting a text file from a jar

  1. #1
    Join Date
    Nov 2004
    Posts
    2

    Problem extracting a text file from a jar

    Hi to everyone,

    I have coded an applet that performs visualizations of some graph algorithms.
    The last version of applet that works smoothly can be found at:
    http://eos.uom.gr/~thanasis/IIE2.htm

    The method that fills the right hand side textarea with a text file (help.txt) can be found below:
    http://eos.uom.gr/~thanasis/Helper.java

    In order to deliver my applet i have put everything (class,wav and text files) inside a jar file.
    So i changed the method that fills the right hand side textarea with the help file(help.txt) to:
    http://eos.uom.gr/~thanasis/Help.java

    Nevertheless it didn't work out:
    http://eos.uom.gr/~thanasis/IIE.htm

    How must i modify the method so as to work when my text file(help.txt) is inside a jar?

    I must point out that both the htm file and the jar lie in the same folder. Moreover i don't use packages.

    Thanks in advance
    Thanasis

  2. #2
    Join Date
    Jul 2004
    Location
    Nigeria
    Posts
    17

    Working the Data grid control

    Hi folks.Long time no hear or read from me.I ve been away from my system due to some reasons.Thanks
    Pls I have this problem with the datagrid control
    1.In my database I have a field whose data type I set to Number while using access 2000.
    2.In the front end am using VB6 and the control I will be using to enter data is the data grid control.
    3.However when I mistakenly enter an alphabetic character in the grid where am supposed to enter a number I get an error ("Multiple step operation").
    4.I have tried to trap the error in the keypress,coledit,lost focus events of the grid control but no success.
    Can anyone out there assist wiyh a code to trap this error?

Similar Threads

  1. deploy jar file + mail api
    By cemben in forum Java
    Replies: 2
    Last Post: 08-23-2005, 06:29 PM
  2. Replies: 1
    Last Post: 07-19-2005, 01:03 AM
  3. Help saving data to text file
    By Asbestos in forum Java
    Replies: 1
    Last Post: 06-06-2005, 10:30 AM
  4. Reading and writing lines from a text file...
    By Jenks in forum VB Classic
    Replies: 6
    Last Post: 05-24-2005, 02:22 PM
  5. Replies: 0
    Last Post: 03-05-2001, 05:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center