How Software Gets Done  


(No Login on Secured Page)

Custom Software Buyers
Request new bids
Search Coders
My Account
 
My Buyer 'To Do' List
 
My bid requests
  My escrow account
 
My General Info
 
Help for Buyers
Articles for Buyers
FAQ for Buyers
Latest News
 

Custom Software Coders

Newest open work
Browse all work
Search all work
My Account
 
My Coder 'To Do' List
 
My bids
 
My General Info
  My credit account
 
Help for Coders
Articles for Coders
FAQ for Coders
Latest News
 

Affiliates

My account
 
My pipeline
 
My credit account
 
Help for Affiliates
Latest News
 
Newest Open Bid Requests.
Message Board, Faq's, and Rating system
By innovate on May 7
Max Bid: Open to fair suggestions


OpenGL Game in C++
By softlancer2003 on May 7
Max Bid: $20


Connect .asp to ms access
By inet29 on May 7
Max Bid: $10


DVD UDF ISO9660 project
By eric_55555 on May 7
Max Bid: $300


W2000 Server Bandwidth Limitation
By efp on May 7
Max Bid: $10


ASP mailer with read reciept
By walla on May 7
Max Bid: Open to fair suggestions


Click here to put this ticker on your own site

Open Work Categories.
Database 
(141 open)
   Access 
(63 open)
   MySQL 
(81 open)
   Oracle 
(11 open)
   SQL Server 
(49 open)
   Other DB 
(16 open)
Documentation / Tech Writing 
(32 open)
Data Entry 
(17 open)
Game Development 
(19 open)
Graphics / Art / Music 
(35 open)
   Graphics 
(51 open)
     3d Animation 
(11 open)
   Art (Misc.) 
(16 open)
   Music 
(4 open)
   3d Modeling 
(5 open)
Language Specific 
(108 open)
   ASP 
(70 open)
   C# 
(34 open)
   C++ / C 
(103 open)
   Cocoa / Obj-C 
(2 open)
   Cold Fusion 
(3 open)
   Delphi 
(32 open)
   Java 
(56 open)
   Perl 
(35 open)
   PHP 
(91 open)
   XML/XSL 
(24 open)
   Visual Basic 
(139 open)
   Visual Basic .Net 
(69 open)
   Other 
(46 open)
Misc 
(33 open)
   CAD 
(3 open)
MultiMedia 
(29 open)
Network 
(46 open)
   Network Design 
(12 open)
   Network Implementation 
(16 open)
Platforms 
(68 open)
   Windows 
(158 open)
     MS Exchange 
(2 open)
     MS Office 
(8 open)
     Other 
(10 open)
   Internet Browser 
(39 open)
   Linux 
(50 open)
   UNIX 
(24 open)
   Hand Held/PDA Programming 
(10 open)
Requirements 
(15 open)
Security 
(40 open)
Testing / Quality Assurance 
(19 open)
Web 
(152 open)
   Page Design 
(78 open)
   Flash 
(47 open)
   Web Services 
(75 open)
   Web (Other) 
(77 open)
Training 
(12 open)
   Computer Based 
(16 open)
 
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

Recursive Find-and-Replace for a Swing based Text Editor
Bid Request Id: 30054
Bookmark in my 'To Do' list
Posted by: MongloidOO (4 ratings)
(Software buyer rating 9.5)
Non-action Ratio: Above Average - 37.50%
Posted: Oct 6, 2002
6:12:07 PM EDT
Bidding Closes: Oct 12, 2002 EDT
Viewed (by coders): 184 times
Deadline: 10/12/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Java, Requirements, Documentation / Tech Writing, Misc
Enter chat room for this bid request
(0 active users at May 7, 2003 7:43:10 PM EDT)

Description:
This lab is based on the Notepad example that comes with the SDK. I added comments and started the lab for you by adding find to the pull-down menu and the tool bar and having find generate a modal dialog box. You will notice that most of the code you can ignore.

This project just involves adding a few basic modifications to a notepad. It doesn't involve adding many methods.

Deliverables:
Improve readability of code
1. Move the main() method to the top of the class so it is easier to find.
2. Get rid of magic numbers and magic strings that are marked with // ##
3. Change constants to the form ICON_SUFFIX
4. Improve variable names marked // ##
5. Hide all methods and fields that do not need to be public.

Modify Look and Feel
1. The configuration of the pull-down menus and the tool bar are set by resources/Notepad.properties. In this file you will find many resource definitions. They are retrieved from the file with methods like Class.getResourceString ().

Notepad responds to actions. A common action listener is registered for both the pull-down menu and the tool bar. Most actions related to typing are handled by the action listeners from JTextComponent. NotePad itself has seven separate action listeners of its own that enumerated in NotePad.defaultActions [].

By modify resources/Notepad.properties add find_and_replace:
1. Generate a Find pull-down menu and move find to the new menu.
2. Add a find_and_replace item .
3. Add a find_and_replace icon to the toolbar.
4. Specify tool tips for find and find_and_replace
5. Specify your icons for find and find_and_replace.

Handle the find_and_replace action
1. Create a Replace() inner class based on the find inner class. Use System.out to show you can "get there from here".

Register the listener
1. add the action listener for find_and_replace to the array Notepad.defaultActions. You must give it a label that is the same as the Action property in the resources file. Use find as an example.

2. Click the find button multiple times, the window keeps opening, fix this.

3. Create dialog boxes to implement find and find_and_replace. Start with CustomDialog and implement FindDialog. When you done, extend FindDialog to ReplaceDialog.

Use a format for your dialog boxes from your favorite favorite application. You will need to implement the following buttons for the ReplaceDialog: find next, replace, replace all, cancel

Allow the user to select either a recursive or iterative search and replace. How you do this is up to you.

Display the button hits and modes using System.out

Search
1.Find a word in a document. Indicate the location of the word by moving the cursor to the beginning of the word
2. Prompt user when the end of the page is reached by generating a dialog box.

Search and Replace
1. Find a word in the document. Allow the user to replace word and go to the next, or skip the replace and just go to the next matching word.
2. Iteratively find and replace all the matching words in the document. Report number of replacement either in the status bar or on the console.
3. Recursively find and replace all the matching words in the document. Report number of replacement either in the status bar or on the console.
4. Prompt user when end of page is reached during the search. Either generate a dialog box or a beep with a message on status bar.
5. Allow the user to specify the the search
1. matches case
2. searches up or down
3. matches only whole words

5. Measure the time taken to complete the global search and replace using (using System.currentTimeMillis()). Display the time in the status bar or use System.out.println()) which might be easier.

Platform:
Any operating system.

Must be 100% finished and received by buyer on:
Oct 12, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
This needs to be completed by Saturday October 12th 2002. Fully documented is preferred.

Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.



Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Linus
(4 ratings)
in Chengannur, Kerala
India
Bid id: 335,975
 
$10 (USD) Oct 7, 2002
12:19:15 AM EDT
 10
(Excellent)
   
Hey,
I like to work on this.
 
 
 
 
  See 3 private reply(ies)
to/from Linus.
 




Quick Search
 

 Advanced Search
Newest Open Work
Latest News

 
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 

Rent A Coder Top Coders.


Anuj Gakhar
Rated a 9.98 on 92 jobs 
Securenext
Rated a 9.98 on 97 jobs 
Buddies
Rated a 9.82 on 76 jobs 
Codman
Rated a 9.97 on 137 jobs 
Andrei Remenchuk
Rated a 10 on 12 jobs 
Michael Sharp
Rated a 9.98 on 167 jobs 
teleCODERS
Rated a 9.93 on 67 jobs 
RNA
Rated a 9.93 on 35 jobs 
hernest
Rated a 10 on 109 jobs 
markesh
Rated a 10 on 21 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers
 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 


Affiliate Sites



Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.