Computer Science, asked by samruddhi1141, 1 year ago

write the syntax and use of add separator( ) method​

Answers

Answered by ankurbadani84
9

Answer:

Explanation:

Methods of addseperator are as follows:-

1) public void addSeparator()  - This will append a new separator to the end of the menu.

2) public void addSeparator(Dimension size)  - This will append a separator of a specified size to the end of the tool bar.

You need to use this method like below:-

menu.addSeparator();

Similar questions