aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Use of RandomAccessFile class under Swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Use of RandomAccessFile class under Swing" Watch "Use of RandomAccessFile class under Swing" New topic
Author

Use of RandomAccessFile class under Swing

C.R.Muthukumar
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
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
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
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"?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286
    
    6

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.


GenRocket - A Test Data Generation Platform
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
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?


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
C.R.Muthukumar
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
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
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8710
    
    6

The thread C.R.Muthukumar is referencing can be found here.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
C.R.Muthukumar
Ranch Hand

Joined: Dec 03, 2004
Posts: 59
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

Joined: Dec 03, 2004
Posts: 59
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use of RandomAccessFile class under Swing
 
Similar Threads
using getComponentCount() (sorry long post)
CheckBoxes with same name
Design of data access layer - please comment on
JComponents won't show until I move mouse over them
java io/reading from Disk file using RandomAccessFile class