RText Tabs

Questions on using RText should go here.

Moderator: robert

RText Tabs

Postby Azlan » Tue May 14, 2013 12:39 am

If you don't mind me asking, how does RText go about making tabs? I've always been interested on how Java-made editors make tabs to switch textareas'. After looking around in RText's source, I didn't quite find exactly how all the tab classes went together.
Posts: 14
Joined: Thu Apr 11, 2013 4:54 pm

Re: RText Tabs

Postby robert » Wed May 15, 2013 5:27 pm

RText uses a bunch of wrappers and fluff around a standard javax.swing.JTabbedPane, whose tabs just contain RTextScrollPanes containing RSyntaxTextAreas. The actual tabbed pane stuff is in the RTextTabbedPaneView class.
User avatar
Posts: 852
Joined: Sat May 10, 2008 5:16 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests