File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Want to display non editable in a frame Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Want to display non editable in a frame" Watch "Want to display non editable in a frame" New topic
Author

Want to display non editable in a frame

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 494
I have a Frame which will display a data, some of it the user will be allowed to edit, the rest I want to have read only, how would I go about displaying readable only data within a Frame.
Thanks Tony
Winston Smith
Ranch Hand

Joined: Jun 06, 2003
Posts: 136
In order for the user to edit text, you'll have to provide some sort of input field, such as a <TEXTAREA>. You can set a textarea to readonly by using the READONLY flag:


for (int i = today; i < endOfTime; i++) { code(); }
Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 494
Thanks Winston.
Tony
 
 
subject: Want to display non editable in a frame
 
Threads others viewed
Connecting two GUI windows
calling an html thr applet/servlet in same html
Struts question.
Hide Frame or Dialog from System task bar
calling a html in a frame of html?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com