Posts

String & String buffer class in java

                  String  & String  buffer class in java   Before starting with string and string buffer class lets get te concept about string .                                                         What is string..?  we can say that string is a sequence of characters so induvidually charactes make a string . OR we can say that string is an array of characters. Suppose we take an example how we did in c and c++ char a[5]="hii"; OR char a[]= { 's' , 't' , 'r' , 'i' , 'n' , 'g' , }; so java stated a new concept about storing strings  Java gave a readymade class for storing string they  1) string class  2)string buffer class  Normally whatever we write in java that is the sequence of charater represent the object o...

LIfe cycle of applet

Life cycle of applet Here i have provided information about applet what is an applet , what it means, about the working of applet ... Then also lets quick revise about applet ...  AN applet is basically a background on which we can keep tools ,controls etc...working for browser application or web page .. Also provided information about how an applet works just import the package java.applet around made any class give the name which you would like to give and extend Applet compile the java file and write applet tag as mentioned in the earlier post and RUN in either browser or an appletviewer provided by JDK. This was the quick revision i gave to make an applet that is just a white back ground that would appear on your screen . NOW about t he life cycle of an applet while just as we have seen the life cycle of thread lets take a quick look on the life cycle of an applet . First of all the life cycle is divided into 5 phase mainly these all are the methods...

intorduction about the two chapters awt and swing..!!

                                       awt and swing First of all what is awt and swing that we need to understand as we know there are many controls such as text field,text area,rich text box,lists,label,buttons....etc. As we all have noticed thats a common thing we open in any application such as msword,powerpoint or any application these all controls appear one and the same why this happens...?? what is the reason behind all this does all the company provides the same controls we see in any operating systems... !! The answer is NO all the software companies use the ready made controls provided by the operating system so the better example which can be given is that open a word in windows xp,windows 7,windows 8, windows 10 . You will see a different appearence so why this happens..?? As and when we open by double clicking the icon of any exe file it needs some DLL files a...