Hi Roman,

I'm seeing this error compiling with Jikes:

Found 2 semantic errors compiling
"gnu/classpath/examples/swing/HtmlDemo.java":


<-----------------------------------------------------
   198.     Icon backIcon =
Demo.getIcon("/gnu/classpath/examples/icons/back.png",
   199.                                  "back");
        --------------------------------------->
*** Semantic Error: The method "javax.swing.Icon
getIcon(java.lang.String location, java.lang.String name);" in type
"gnu.classpath.examples.swing.Demo" has private access and is not
accessible here.



<-------------------------------------------------------
   223.     Icon reloadIcon =
Demo.getIcon("/gnu/classpath/examples/icons/reload.png",
   224.                                    "reload");
        ------------------------------------------->

Regards,

Dave

On Wed, 2006-12-06 at 22:02 +0100, Roman Kennke wrote:
> This makes the HTML demo a better webbrowser by adding a back and reload
> button with history. This also includes some improved testpages.
> 
> 2006-12-06  Roman Kennke  <[EMAIL PROTECTED]>
> 
>       * examples/gnu/classpath/examples/icons/back.png,
>       * examples/gnu/classpath/examples/icons/reload.png:
>       New icons for the HTML browser.
>       * examples/gnu/classpath/examples/swing/HtmlDemo.java
>       (history): New field. Manages the browsing history.
>       (HtmlDemo): Initialize history.
>       (createContent): Set location and add history. Add toolbar.
>       (createToolBar): New helper method.
>       (main): Make default size bigger.
>       * examples/gnu/classpath/examples/swing/frame1.html,
>       * examples/gnu/classpath/examples/swing/frame2.html,
>       * examples/gnu/classpath/examples/swing/frame3.html,
>       * examples/gnu/classpath/examples/swing/frame4.html,
>       * examples/gnu/classpath/examples/swing/frames.html,
>       * examples/gnu/classpath/examples/swing/tables.html:
>       New example pages.
>       * examples/gnu/classpath/examples/swing/welcome.html
>       Add a couple of links and new test pages.
> 
> /Roman
> 


Reply via email to