RText Tabs

Post a reply

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review

Expand view Topic review: RText Tabs

Re: RText Tabs

Post by 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.

RText Tabs

Post by 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.