OLITECHNIKA RZESZOWSKA - Wydział Elektrotechniki i Informatyki
import java.awt.*; import jas
HyperlinJcLi stener (
c class SimpleBrowse JTextField jtf;
public SimpleBrowser(String title) ( setTitle(title);
String startPage = "http://www.prz.edu.pl";
jtf - neu JTextField(3tartPage); jtf.addActionListener(this); addljtf, BorderLayout.north);
try { jep = new JEditorPane(new URL(startPage)); ) catch(Exception e) (errorURL(e);) jep.setEditable(false); jep.addHyperlinkListener(this);
JScrollPane jsp = new JScrollPane(jep);
add(jsp, BorderLayout.CESTER);
setvisible( u SimpleBrowser ("MySimpleB
I