Skip to main content

Exception?

1 reply [Last post]
mikethoms
Offline
Joined: 2008-03-22

I used the BrTabbed Component and set it to
Can anybody help me with this exception:

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: org.jdic.web.peer.WBrComponentPeer.execJS(Ljava/lang/String;)Ljava/lang/String;
at org.jdic.web.peer.WBrComponentPeer.execJS(Native Method)
at org.jdic.web.BrComponent.execJS(BrComponent.java:497)
at org.jdic.web.BrComponent$1.run(BrComponent.java:485)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

This is the code i call:
public void setPage(String url){
try {
brMain.setURL("http://www.google.de");
brMain.refresh();
brMain.repaint();
//brMain.setURL(u);
} catch (MalformedURLException e) {
System.out.println(e.getMessage());
}

Dimension screenSize = getToolkit().getScreenSize();
setLocation(screenSize.width - getWidth(),screenSize.height - getHeight() - 30);
panel.setPreferredSize(new Dimension(300, 300));
pack();

setVisible(true);
}

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Alex Ng'ang'a

Looks like a problem with the system not finding the required native
library. Have you installed the dynamic link libraries properly? Read
the install notes to see where to put them.

Regards,

Alex.

On 10/9/08, jdic@javadesktop.org wrote:
> I used the BrTabbed Component and set it to
> Can anybody help me with this exception:
>
> Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
> org.jdic.web.peer.WBrComponentPeer.execJS(Ljava/lang/String;)Ljava/lang/String;
> at org.jdic.web.peer.WBrComponentPeer.execJS(Native Method)
> at org.jdic.web.BrComponent.execJS(BrComponent.java:497)
> at org.jdic.web.BrComponent$1.run(BrComponent.java:485)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>
> This is the code i call:
> public void setPage(String url){
> try {
> brMain.setURL("http://www.google.de");
> brMain.refresh();
> brMain.repaint();
> //brMain.setURL(u);
> } catch (MalformedURLException e) {
> System.out.println(e.getMessage());
> }
>
> Dimension screenSize = getToolkit().getScreenSize();
> setLocation(screenSize.width - getWidth(),screenSize.height -
> getHeight() - 30);
> panel.setPreferredSize(new Dimension(300, 300));
> pack();
>
> setVisible(true);
> }
> [Message sent by forum member 'mikethoms' (mikethoms)]
>
> http://forums.java.net/jive/thread.jspa?messageID=304396
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdic-unsubscribe@jdic.dev.java.net
> For additional commands, e-mail: jdic-help@jdic.dev.java.net
>
>

--
Sent from Gmail for mobile | mobile.google.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jdic-unsubscribe@jdic.dev.java.net
For additional commands, e-mail: jdic-help@jdic.dev.java.net