Search:

Type: Posts; User: darkmoon3009

Search: Search took 0.21 seconds.

  1. Re: Exception in thread "AWT-EventQueue-0" at Map.getMap(Map.java:48)

    How do i write that in code??
  2. Re: Exception in thread "AWT-EventQueue-0" at Map.getMap(Map.java:48)

    i have added has next so it looks like this :

    public void readFile()
    {
    while(m.hasNext())
    {
    for(int i = 0; i < 14; i++)
    {
    Map[i] = m.next();
    }
  3. Re: Exception in thread "AWT-EventQueue-0" at Map.getMap(Map.java:48)

    I don't understand how to put this method into my code. im still a beginner. If you could tell me where it would go into the code and/or what to put. Thanks!
  4. Re: Exception in thread "AWT-EventQueue-0" at Map.getMap(Map.java:48)

    i added this as the constructer

    public Map()
    {
    ImageIcon img = new ImageIcon("C://Noah's World//dirt.png");
    dirt = img.getImage();
    img = new ImageIcon("C://Noah's World//wall.png");...
  5. Exception in thread "AWT-EventQueue-0" at Map.getMap(Map.java:48)

    Maze.java


    import javax.swing.*;

    public class Maze
    {
    public static void main(String[] args)
    {
    JFrame mainframe = new JFrame();
  6. Exception in thread "AWT-EventQueue-0" and Exception in thread "main"

    Maze.java

    import javax.swing.*;

    public class Maze
    {
    public static void main(String[] args)
    {
    JFrame mainframe = new JFrame();
    mainframe.add(new Board());
Results 1 to 6 of 6