Q. A Dialog box sanp shot was given, and it was asked to write the code to make this dialog box. (5 marks)
Q. How u make communication in client and server in network programming. (5 marks)
(ye past paper k thay)
Write dow the gnarl syntax for the registryevent handler generator when u are working in GUI? (2)
For example, if b1 is JButton then
b1.addActionListener(this);
Why is directly paintcomponent() method not recommended? marks ( 2 )
Because such code may be invoked at times when it is not appropriate to paint -- for instance, before the component is visible or has access to a valid Graphics object.


Sponsored Links