User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 425,968 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,648 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1060 | Replies: 0
Reply
Join Date: Oct 2004
Posts: 1
Reputation: chefsride is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
chefsride chefsride is offline Offline
Newbie Poster

Help with problem

  #1  
Oct 27th, 2004
My problem is that I need to make a program that has a JTextArea, a button and a JTextPane in it. The idea is to put in the JTextArea either by typing or by pasting java source code. Then press the button and out would come a colored version of the code based on the keywords, class names, Operators, Strings, and etc. We are suppose to add the html code to the input string to make the code have color like an IDE would do as you type the source code and then output the result to a JTextPane. I have no problem making the GUI for this program. I am having problem figuring out what would be the best way to do the string comparisons (depending on if I use String, StringBuffer, or ArrayLists). Please help
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Java Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 10:56 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC