No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
My problem is that the image is not showing on my java. here is my code MyGame.java [CODE]package mygame; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class MyGame extends JFrame { Container c; Player p; MyGame() { this.setTitle("My Game"); this.setSize(600, 400); this.setLocation(100, 100); this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); c = this.getContentPane(); p = new … |
|
can someone tell me how can i read data from text files line by line and store it on a variable. example: here is my the data in my textfile. example.txt Username: blahblah Password: wewewe my problem is how can i get the blahblah and wewewe and store it in … |