•
•
•
•
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
![]() |
•
•
Join Date: Oct 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Installing Windows 98 On VMware. Floppy problem (Windows 9x / Me)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP / 2003)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Gadgets and Gizmos)
- Connection Problems (Networking Hardware Configuration)
- Encoding (Unicode) problem in IE 6.0 (Web Browsers)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
- Javascript/HTML problem!!! (JavaScript / DHTML / AJAX)
- Problem with Windows Update and WinXP (Web Browsers)
Other Threads in the Java Forum
- Previous Thread: Having trouble with comparing strings and arrays
- Next Thread: Random Number help


Linear Mode