• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Use of RandomAccessFile class under Swing

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends

Can any one put codes to compare the objects of RAC and the objects that are coming from RadioButtons(As for example while reading out through RadioButtons)and a text matter that is stored in disc file and being read out through RandomAccessFile class objects in order to fetch a specified text.
Thanks in advance
 
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure I understand the question fully - particularly the involvement of the radiobuttons. What exactly do you mean by "objects from are coming from radiobuttons"?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By "put codes" I hope you don't mean you want someone to do all your work for you. As to the rest of your post, I really am not clear on what you are wanting. Probably, as this forum is home to thousands of people from all over the world, we have a bit of a language barriar. If at all possible, could you please clarify your question a bit.
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one put codes to compare the objects of RAC and the objects that are coming from RadioButtons(As for example while reading out through RadioButtons)and a text matter that is stored in disc file and being read out through RandomAccessFile class objects in order to fetch a specified text.

It sounds like you are trying to read a file from disk using the RandomAccessFile methods. Then you want to compare the results to the String (text) that you are getting from the web page containing your radio button using request.getParameter(). Would that be an accurate description of your problem?
 
C.R.Muthukumar
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by C.R.Muthukumar Muthukumar:
[QB]Hello friends

Can any one put codes to compare the objects of RAC and the objects that are coming from RadioButtons(As for example while reading out through RadioButtons)and a text matter that is stored in disc file and being read out through RandomAccessFile class objects in order to fetch a specified text.
Thanks in advance

Hello friends,
The question is as follws:

How do I access the arrayobjects that are stored in disc file while using RandomAccesFile class via RadioButtons usage under gui.Pl pay emphassis on a specified arrayobject(string) from the disc file.(even though the file contains plethora of arrayobjects(string))
For more clarity ,pl ref IO section of this forum under C.R.Muthukumar/IO/RandomAccesFile which will be self-explanatory

 
Bartender
Posts: 9559
12
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thread C.R.Muthukumar is referencing can be found here.
 
C.R.Muthukumar
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Stuart Gray:
Not sure I understand the question fully - particularly the involvement of the radiobuttons. What exactly do you mean by "objects from are coming from radiobuttons"?



Hello Gray
Pl be informed that the Objects Of RadioButton class and the Objects of RAC are compared during run time in order to total up the corrctanswers from file usage that are anwered at the RadioButton .The problem is that this is not correctly taking place (because swing components Viz RadioButtons and RAC components donot get synchronised while this event tkes place (This is only my guess pl try ur knowledge in java and get me the solution)
Thanks and BestLuck
 
C.R.Muthukumar
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Joe Ess:
The thread C.R.Muthukumar is referencing can be found here.



Hello Joe

Pl arrange to let me know if I can go ahead by paying attention to the Exitclass that uses ExitHandler by registering the same to actionlistener as this is not done in my applicationprogram, in order to derive the long awaited
correct indication of the result in the output.
Also pl note that inspite of my explaining the problem more numberof times to diff persons the solution that is requred is not received as yet.However I am sure u would definitely take up the lead commendably as u hitherto helped.
Last but not certainly the least i request ur knowledge (java)in this regard
Thanks
As Always
C.R.Muthukumar
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!