Hi all,
if i have a program like:
----------------------------------------------------
public class myclass extends Frame
{
public static void main( String argv[] )
{
MakeControlWindow();
}
public void MakeControlWindow()
{
//some stuff
}
}
----------------------------------------------------
On compilation the compiler says:
Can't make static reference to method void MakeControlWindow() in class
myclass.
I do not understand this. If i declare MakeWindow() as static void ...
then the error disappears. I was of the opinion that all member fuctions
were *static*. What am i missing?
Regards,
-Karthik.
+-----------------------------------------------------------------+
| Karthik Vishwanath, Junior Research Fellow, |
| National Centre for Biological Sciences, TIFR Bangalore, India. |
| Ph[Off]: (080)8561657/58/59/71/72; 8462895, Ext. 3010 |
| mail to: [EMAIL PROTECTED] |
| Alt mail: [EMAIL PROTECTED] |
+-----------------------------------------------------------------+
Microsoft isn't the answer.
Microsoft is the question and the answer is NO.