I am very new to programming(3months) i have been given a task to create a jukebox which when tracks are selected or buttons are pressed then music should play. I Have drawn the jukebox and when i compile the program and execute it it displays all the panel and buttons ok but the drawing canvas on which i have drawn some graphics is not being displayed. I think that somehow it is being covered by the panels but after trying for hours to find a solution i have hit a brick wall.I am dreading adding the palylists and trying to get it to play songs. could someone please look at my code and explain where and why i have gone wrong. import java.awt.*; import java.awt.event.*; import java.awt.Graphics.*;
g.drawString("Glenn's Wurlitzer Jukebox", 240, 290); g.setFont(new Font("Helvetica", Font.PLAIN, 12)); g.drawString("This is an example of plain 12pt Helvetica font", 20, 70);