StringButtons extends JFrame,
such thatjava StringButtons string0 string1 ... stringN will
shows me a frame with a N+1 buttons on one row, and the buttons have
label string0, string1,... stringN repectively.java StringButton This is the answer
StringLength such that java StringLength string1 string2 .. stringN return
the sum of length of all the strings.. java StringLenght How long are the stringsRemoveDigit such that java RemoveDigit string1 string2 ... stringN remove
all the digits from all the strings and display them. java RemoveDigit PIC10A is number1 PICA is numbertrue if
ch is a digit. NumberLabels extends JPanel
with 2 static int HORIZONTAL and VERTICAL.
It shows 9 labels with number 1,2,3,4,5,6,7,8,9 on it with given orientations.
There are one constructor
public NumberLabels(int orientation)
NumberLabels(NumberLabels.VERTICAL) |
NumberLabels(NumberLabels.HORIZONTAL) |
String string = "hi";
char[] array = {'h','i'};
Which of the following lines are correct?JLabel,
JButton,JPanel.Color and FontGraphics class? drawString, drawOval, fillOval, drawRect,
fillRect, drawArc, fillArc, setColor, setFont?