Total members 11895 |It is currently Fri Dec 27, 2024 8:57 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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:




Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time

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);
 


_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 2 posts ] 

  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"     -  
 Invalid unicode sequence error ("u")     -  
 How to save in a file the ASCII Characters? Like "☺"     -  
 @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     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com