Access « JTextArea « Java Swing Q&A





1. how to access jtextarea from one jframe to other jframe    stackoverflow.com

i m having 2 jframes.in 1 jframes,i am giving input in jtextarea,that should be displayed in another jframe jtextarea.how can i get that. i m using netbeans,i have designed jframes using swing. can ...

2. help!! how to access JTextArea in JScrolPane inside JTabbedPane    forums.oracle.com

hi there my problem is i want to access setFont method of JTextArea inside JScrolPane which is also inside a JTabbedPane here is my code in creating new tabPane: if(e.getSource() == createNewTabButton){ //instance variable editorTab = new JTabbedPane editorTab.addTab("Title", new JScrollPane( new JTextArea(18,51) ); } how do i use this code to set the font for every JTextArea in every Tab: ...