Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

help for "Note pad code in java"

Wed Jun 08, 2011 1:43 pm

plz give me "NotePad" code in java.

i had tried but the problem-----how to code the "Open" option

i.e..i want to open another .txt files in to my note pad

(or)

plz provide me full note pad cod in java

advanced thanx to how solve my problem :cray:



Re: help for "Note pad code in java"

Thu Jun 09, 2011 3:31 pm

hey , you just need to read file content to a textarea object in your Swing GUI . what is the problem in this ?

Code:

JTextArea textArea 
= new JTextArea();
JScrollPane scrollPane = new JScrollPane(textArea);
 


Post a reply
  Related Posts  to : help for "Note pad code in java"
 Temu Coupon Code $100 off |"|act796165|"| for New and Exis     -  
 Program for "Selection of arithmetic operations" in Java     -  
 Make your own Visual Basic 6 Version of "Tail for windows"     -  
 How to save in a file the ASCII Characters? Like "☺"     -  
 Invalid unicode sequence error ("u")     -  
 @SuppressWarnings("unchecked")     -  
 How to add "Description" on every topics ?     -  
 Free "tail -f" Tool for all Platforms: Tail for Windows, Tai     -  
 how to write a "c' program on fibannoic series     -  
 java code for chat     -