Yello
Lige lidt flere problemer:
Jeg får denne her runtime error:
init()
java.lang.NoClassDefFoundError: travelplanner/search/BreadthFirstSearch
at travelplanner.Main.init(Main.java:29)
at sun.applet.AppletPanel.run(AppletPanel.java:344)
at java.lang.Thread.run(Thread.java:484)
Kode:
package travelplanner;
import travelplanner.search.*;
import travelplanner.db.*;
import java.sql.*;
import java.awt.*;
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.event.ActionEvent.*;
import java.awt.event.ItemEvent.*;
public class Main extends JApplet implements ActionListener
{
public void init()
{
System.out.println("init()");
BreadthFirstSearch bfs = new BreadthFirstSearch();
....osv.
Html fil:
<applet code="travelplanner.Main" width="600" height="600"></applet>
Hvad er problemet? På forhånd tak.
--
Mvh. / Kind regards
Henrik Farre < enrique@obel.auc.dk --
http://Welcome.to/Webbench >
- If I where God, I would recompile the penguin with --enable-flying.