Computer Science, asked by Prakhar9221, 1 year ago

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

Answers

Answered by sanjeetkumar40
1

Common properties are :

(i) Name.

(ii) Height.

(iii) Left.

(iv) Top.

Two common methods are:

(i) setHorizontalAlignment(int).

(ii) getHorizontalAlignment(int).

Similar questions