1.

Name two properties and two methods that are common in jTextField and jLabel.

Answer»

Common properties are :

(i) Name.

(ii) Height.

(iii) Left.

(iv) Top.

Two common methods are:

(i) setHorizontalAlignment(int).

(ii) getHorizontalAlignment(int).



Discussion

No Comment Found

Related InterviewSolutions