No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
i m not getting the desired out put .....according to the program ,it will have to give the movement of the circle in the direction of the diagonal. [code=java] import javax.swing.*; import java.awt.*; public class DrawCircle{ int x=70; int y=70; public static void main(String[] args){ DrawCircle dc = new DrawCircle(); …
Frames are the basics of java gui...make frame then u can put any thing on it ... u can add ur custom panes just by overriding the paintComponent method of JPanel...n dont forget to add(frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)) in ur code.
Can any one justify the use of inner classes with example(if possible)
plz help me out ... i m using the following code to display an image which resides on my pc (C:\Users\vivek\Pictures\firefox,JPG)... but when i run the code ....there is no compile time error..n also not any run time error..n the output is a empty frame :'( [code=java]import java.awt.*; import javax.swing.*; …
Sequencer sequencer = MidiSystem.getSequencer (); can any 1 tell ...What's going on in this code ....
The End.
painless