Ignore:
Timestamp:
12/13/13 10:56:01 (11 years ago)
Author:
jts21
Message:

Add homePage setting, and make settings reset to their defaults if their value is blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/widgets/JfxBrowser.java

    r573 r621  
    393393
    394394        public JfxBrowser(Text source, String[] args) {
    395                 // Initial page is either the page stored in the arguments (if there is one stored) or Google
    396                 super(source, new WebBrowserPanel((args != null && args.length > 0) ? args[0] : "http://google.com"), -1, 500, -1, -1, 300, -1);
     395                // Initial page is either the page stored in the arguments (if there is one stored) or the homepage
     396                super(source, new WebBrowserPanel((args != null && args.length > 0) ? args[0] : NetworkSettings.homePage), -1, 500, -1, -1, 300, -1);
    397397                _browser = (WebBrowserPanel) _swingComponent;
    398398                _browser.owner = this;
Note: See TracChangeset for help on using the changeset viewer.