Find / Replace Dialog

General Discussion on RSyntaxTextArea.

Moderator: robert

Find / Replace Dialog

Postby jeffy » Sat Apr 13, 2013 10:29 pm

Hi everyone,

I just hacked together a Find / Replace dialog based on Robert's helpful example code. With minimal effort it should be portable and usable on its own, so feel free to adapt it for your own code.

https://code.google.com/p/simbrain/sour ... ialog.java

It has a dependency on a ScriptEditor class but that can be easily removed. It also relies on a utility class called LabelledItemPanel that does not have any dependencies of its own so you can just pull that out and use it. Or those two lines can just be replaced with Swing code.

I'm not a professional developer so feedback and fixes welcome. ... I guess one thing I just noticed is that it's misnamed as a dialog class since it's a panel. Too lazy to change that now.... Cheers.

- Jeff
jeffy
 
Posts: 3
Joined: Fri Jun 01, 2012 8:48 pm

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 1 guest