hi
Answer to C:
a) Button "One" will not resize if the frame is
resized
b) Button "Three" will not resize if the frame is
resized
this is because even though u have set a borderlayout for the frame you do not specify any constants like NORTH,WEST,SOUTH,EAST or CENTER ... hence the line from your code
add(p1); defaults to add(p1,BoerderLayout.CENTER);
due to this all u see is Button four ... because it gets placed one over the other .... but while resizing all get resized
<pre>
\```/
(o o) harder u try luckier u get
-------oOO--(_)--OOo----------------------------
Samth.P.Nambiar
</pre>