Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

I am not able to access router admin panel !

User_JHWWWJun 13 2021

My rogers router IP address is 192.168.0.1 but I am not able to access my router admin panel ! please help !
I did try this: https://routerhax.com/192.168.0.1/

Comments

User_64CKJ
867570 wrote:
In an applet, StyleManager.loadStylesheet(final String fname) causes a null exception .
What's a <tt>StyleManager</tt>? I don't see it in the Java 6 JavaDocs.
The code below evade this :

StyleManager styleManager= StyleManager.getInstance();
URL url=getURL("/indicateurs/charts.css", Main.class);
What <tt>URL</tt> constructor takes a <tt>String</tt> and ..what is that, a <tt>Class</tt>?
} catch (IOException ex) {
System.out.println("exception:"+e);
Don't throw away exception information. Call <tt>e.printStackTrace()</tt>. Even if you choose to dump part of the message to output, <tt>System.err</tt> rather than <tt>System.out</tt> should be used.
Will there be a more simple way to deal with the css in an applet ?
Can you:
<li>Use the code formatting tags as described on the sticky post at the top of the forum thread listing?
<li>Ask a smart question? The current code & text reads like nonsense.
870573
it is in the javafx general Question :
StyleManager is from the package : com.sun.javafx.css
aidreamer
Packages in com.sun are usually intended as implementation or experimentation. Using them in your own projects is not recommended. As for using CSS in an applet, you should be able to do that without having to resort to those packages. The tutorial on CSS is right here: http://download.oracle.com/javafx/2.0/css_tutorial/jfxpub-css_tutorial.htm
David Grieve-Oracle
I am interested in knowing what the traceback of the NPE is so I can see if it is a bug in the code. Thanks.
darrylburke
I would guess it's just a result of the security manager preventing the applet from accessing files on the local filesystem.

db
870573
when the code is :
Scene scene = new Scene(root);
scene.getStylesheets().addAll("/indicateurs/charts.css");


the message from the console java is :
WARNING: com.sun.javafx.css.StyleManager$2 run Resource "null" not found.

SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@1feac8e[styleClass=sample-tile]

SEVERE: javafx.scene.control.Control impl_processCSS The -fx-skin property has not been defined in CSS for Button@1feac8e[styleClass=sample-tile]



thanks for your help
1 - 6

Post Details

Added on Jun 13 2021
5 comments
657 views