twitter/src/main/java/org/apidesign/html/demo/twitter/TwitterMain.java
author Jaroslav Tulach <jtulach@netbeans.org>
Thu, 20 Jun 2013 13:28:40 +0200
branchclassloader
changeset 37 4a36b310c6da
parent 36 7ff8ac49cd8c
permissions -rw-r--r--
Removing references to bck2brwsr as in this form the project can't run in bck2brwsr mode
jtulach@37
     1
/**
jtulach@37
     2
 * The MIT License (MIT)
jtulach@37
     3
 *
jtulach@37
     4
 * Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jtulach@37
     5
 *
jtulach@37
     6
 * Permission is hereby granted, free of charge, to any person obtaining a copy
jtulach@37
     7
 * of this software and associated documentation files (the "Software"), to deal
jtulach@37
     8
 * in the Software without restriction, including without limitation the rights
jtulach@37
     9
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
jtulach@37
    10
 * copies of the Software, and to permit persons to whom the Software is
jtulach@37
    11
 * furnished to do so, subject to the following conditions:
jtulach@37
    12
 *
jtulach@37
    13
 * The above copyright notice and this permission notice shall be included in
jtulach@37
    14
 * all copies or substantial portions of the Software.
jtulach@37
    15
 *
jtulach@37
    16
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jtulach@37
    17
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jtulach@37
    18
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jtulach@37
    19
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jtulach@37
    20
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
jtulach@37
    21
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
jtulach@37
    22
 * THE SOFTWARE.
jtulach@37
    23
 */
jtulach@36
    24
package org.apidesign.html.demo.twitter;
jtulach@36
    25
jtulach@36
    26
import net.java.html.boot.BrowserBuilder;
jtulach@36
    27
jtulach@36
    28
/**
jtulach@36
    29
 *
jtulach@36
    30
 * @author Jaroslav Tulach <jtulach@netbeans.org>
jtulach@36
    31
 */
jtulach@36
    32
public class TwitterMain {
jtulach@36
    33
    private TwitterMain() {
jtulach@36
    34
    }
jtulach@36
    35
    
jtulach@36
    36
    public static void main(String... args) {
jtulach@36
    37
        BrowserBuilder.newBrowser().
jtulach@36
    38
            loadClass(TwitterClient.class).
jtulach@36
    39
            loadPage("index.html").
jtulach@36
    40
            showAndWait();
jtulach@36
    41
    }
jtulach@36
    42
}