answersLogoWhite

0

we can set the value of constant text area in Java in swing by creating a object of Jframe

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Input type for textarea in HTML?

The tag to create a textarea in HTML is: <textarea></textarea> This tag should have an ID, so it can be identified when the form is submitted, and default text can be added inside the tag. <textarea id="ourText">This text is the default</textarea>


How do you put a layout code in a scroll box?

Do <textarea></textarea>


Define set in java?

A Java set is a collection of things that do not contain duplicate elements. Duplicates are prohibited from Java sets.


How do you retrieve data stored in the database into the textarea using ASP?

To retrieve data stored in a database and display it in a textarea using ASP, you can use a server-side script to query the database and fetch the data. Then, you can populate the value of the textarea with the retrieved data by echoing it within the textarea tag during the rendering of the page.


What is the correct HTML for text area?

<textarea> Default content if you want it. </textarea> This tag should only appear inside of a <form> element.


What is the difference between a constant and a variable in java programming language?

A constant in Java is defined using the "final" modifier. For instance: final double Density_Of_Water = 1.000; would set Density_Of_Water to 1.000. This value can not be modified throughout the program because "final" told the compiler that this value would not change. A variable however, can be changed by the user throughout the program.


Which are the AWT components in Java?

AWT stands for Abstract window toolkit. AWT gives us the components using which we can create User- Interface based applications in java. Some of the components are: a. Frame b. Panel c. Window d. CheckBox e. RadioButton f. Button g. TextBox h. TextArea i. Etc


How to display contents of txt file on webpage using javascript?

Insert this code into HTML <textarea name="textfield" cols="30" rows="30">YOUR txt file </textarea>


Why does java does not run on Linux?

the short answer is that it does. assuming you have java installed and your path set, it's as easy as javac javafilename.java java javafilename or if you have it as a jar file java -jar jarfilename.jar


How do you set classpath for java?

Classpath for Java can only be set depending on what system is being used. The environment also has to be specified in order for Classpath to work at its best.


Why it is required to set path and classpath?

to compile and run java program you need to set path and classpath path refers to binary used to compile and run java program i.e. "javac" for compilation and "java" for execution


What does shift enter do in Internet Explorer?

Creates a new line in textarea..