• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

get text from text file to Applet

 
balu arivarasu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to give online test to client through applet
suppose i am giving 20 questions in the applet
i am using card layout
is it possible get 20 questions from a single text file and when the applet get loaded we place in each card or
what is the correct solution for this
actualy i seen the coding of the HelloServer.java in CodeBorn.
but it is sutiable for single questions ok
any body please give solution to this problem
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just read a text file containing the questions then display them
one by one in applet layout using label or what ever u like to use...
i think it may help
but tell if problem exists...
 
balu arivarasu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you mateen
i got that reading from a text file and tokenizes the question into parts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic