Morash
05-07-2014, 12:02 PM
Create A Package With Name graphics
In The Main Graphics Class Create An Object Of calculator Class
http://i62.tinypic.com/2iic01g.jpg
Create A New Class In The graphics Package With A Name calculator
http://i59.tinypic.com/rw27u8.jpg
In Java GUI The Main Concept Is Classes And Objects
Below Every Method, Object Etc Is Explained With Comments
Feel Free To Ask If You Don't Understand Any Method
http://i62.tinypic.com/vx1ca9.jpg
http://i58.tinypic.com/4kuznr.jpg
http://i59.tinypic.com/1zn4rx4.jpg
Result
http://i60.tinypic.com/27wsxhw.jpg
In The Main Graphics Class Create An Object Of calculator Class
http://i62.tinypic.com/2iic01g.jpg
Create A New Class In The graphics Package With A Name calculator
http://i59.tinypic.com/rw27u8.jpg
In Java GUI The Main Concept Is Classes And Objects
Below Every Method, Object Etc Is Explained With Comments
Feel Free To Ask If You Don't Understand Any Method
http://i62.tinypic.com/vx1ca9.jpg
http://i58.tinypic.com/4kuznr.jpg
http://i59.tinypic.com/1zn4rx4.jpg
Result
http://i60.tinypic.com/27wsxhw.jpg