Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
explain choosing font faces and sizes in java awt packageschoosing a font face is simple first you create a new font object then you call
what is the role of fonts in java explain with exampleyouve already seen one instance of drawing text in the helloworldapplet program of the last
explain system colors in java 11in java 11 the javaawtsystemcolor class is a subclass of javaawtcolor that gives color constants in which match
what is color in awtcolor is a class in the awt individual colors such as red or mauve are examples of this class javaawtcolor be sure to import it
how to scaling images in java appletyou can scale an image within a particular rectangle using this version of the drawimage methodpublic boolean
how to drawing images at actual sizeonce the image is loaded draw it in the paint method by using the drawimage method like thisgdrawimageimg x y
explain code and document bases if you dont know the exact url of the image but you do know its name and in which its in the similar directory as the
how to loading images in javapolygons ovals lines and text cover a lot of ground the residual graphic object you need is an image images in java are
how to draw polygons in javain java rectangles are defined through the position of their upper left hand corner their height and their width
what is bullseye explain with an examplethis is a easy applet that draws a series of filled concentric circles alternating red and white instead a
prog concepts - project the objective is to implement a menu - based system for bank accounts in
write a program on clearing rectangles it is also potential to clear a rectangle that youve drawn the syntax is exactly what youd expectpublic
write a program on filling rectangles the drawrect method draws an open rectangle a box if you prefer if you need to draw a filled rectangle use the
explain drawing rectangles in java drawing rectangles is easy begin with a graphics object g and call its drawrect method public void drawrectint x
explain about drawing linesdrawing straight lines along with java is easy just call gdrawlinex1 y1 x2 y2 where x1 y1 and x2 y2 are the endpoints of
describe graphics objects in java all drawing takes place via a graphics object this is an example of the class javaawtgraphicsinitially the graphics
explain init start stop and destroy methodthe init method is known as exactly once in an applets life while the applet is first loaded its generally
describe methods of basic applet life cycle all applets have the subsequent four methods public void initpublic void startpublic void stoppublic void
explain the basic applet life cycle 1the browser reads the html page and seraches any ltappletgt tags 2the browser parses the ltappletgt tag to
what content issues is happened in java languagesome people claim in which java is insecure since it can show the user erotic pictures and play
preventing applet based social engineering attacksto help avoid this java applet windows are specifically labeled as such along with an ugly bar that
how much cpu time does an applet getone of the few legitimate concerns about hostile applets is excessive use of cpu time it is possible on a
who can an applet talk toby default an applet can just open network connections to the system from that the applet was downloaded this system is
what can an applet doan applet canbulldraw pictures on a web page bullcreate a new window and draw in it bullplay sounds bullreceive input from the
describe about applet securitythe possibility of surfing the net wandering across a random page playing an applet and catching a virus is a fear in