Merge from trunk GooglePlay
authorJaroslav Tulach <jtulach@netbeans.org>
Thu, 11 Sep 2014 21:27:01 +0200
branchGooglePlay
changeset 213828e1e7908fc
parent 193 0c7070a30735
parent 212 0e4f488d5fa6
Merge from trunk
minesweeper/AndroidManifest.xml
minesweeper/pom.xml
     1.1 --- a/minesweeper/AndroidManifest.xml	Fri Aug 08 16:11:30 2014 +0200
     1.2 +++ b/minesweeper/AndroidManifest.xml	Thu Sep 11 21:27:01 2014 +0200
     1.3 @@ -26,7 +26,7 @@
     1.4  -->
     1.5  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     1.6      package="org.apidesign.demo.minesweeper"
     1.7 -    android:versionCode="4"
     1.8 +    android:versionCode="5"
     1.9      android:versionName="2.4" >
    1.10  
    1.11      <uses-sdk
    1.12 @@ -60,4 +60,4 @@
    1.13        licensing section in Javadoc
    1.14      -->    
    1.15      <uses-permission android:name="android.permission.INTERNET" />
    1.16 -</manifest>
    1.17 \ No newline at end of file
    1.18 +</manifest>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/minesweeper/Info.plist.xml	Thu Sep 11 21:27:01 2014 +0200
     2.3 @@ -0,0 +1,71 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<!--
     2.6 +
     2.7 +    The MIT License (MIT)
     2.8 +
     2.9 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
    2.10 +
    2.11 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    2.12 +    of this software and associated documentation files (the "Software"), to deal
    2.13 +    in the Software without restriction, including without limitation the rights
    2.14 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    2.15 +    copies of the Software, and to permit persons to whom the Software is
    2.16 +    furnished to do so, subject to the following conditions:
    2.17 +
    2.18 +    The above copyright notice and this permission notice shall be included in
    2.19 +    all copies or substantial portions of the Software.
    2.20 +
    2.21 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    2.22 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    2.23 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    2.24 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    2.25 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    2.26 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    2.27 +    THE SOFTWARE.
    2.28 +
    2.29 +-->
    2.30 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    2.31 +<plist version="1.0">
    2.32 +    <dict>
    2.33 +        <key>CFBundleDevelopmentRegion</key>
    2.34 +        <string>en</string>
    2.35 +        <key>CFBundleDisplayName</key>
    2.36 +        <string>Fair Mines</string>
    2.37 +        <key>CFBundleExecutable</key>
    2.38 +        <string>MineSweeper</string>
    2.39 +        <key>CFBundleIdentifier</key>
    2.40 +        <string>jst</string>
    2.41 +        <key>CFBundleInfoDictionaryVersion</key>
    2.42 +        <string>6.0</string>
    2.43 +        <key>CFBundleName</key>
    2.44 +        <string>Fair Mines</string>
    2.45 +        <key>CFBundlePackageType</key>
    2.46 +        <string>APPL</string>
    2.47 +        <key>CFBundleShortVersionString</key>
    2.48 +        <string>2.3</string>
    2.49 +        <key>CFBundleSignature</key>
    2.50 +        <string>????</string>
    2.51 +        <key>CFBundleVersion</key>
    2.52 +        <string>1</string>
    2.53 +        <key>NSHumanReadableCopyright</key>
    2.54 +        <string>Copyright © 2014 Jaroslav Tulach. All rights reserved.</string>
    2.55 +        <key>LSRequiresIPhoneOS</key>
    2.56 +        <true/>
    2.57 +        <key>UIDeviceFamily</key>
    2.58 +        <array>
    2.59 +            <integer>1</integer>
    2.60 +            <integer>2</integer>
    2.61 +        </array>
    2.62 +        <key>UIRequiredDeviceCapabilities</key>
    2.63 +        <array>
    2.64 +            <string>armv7</string>
    2.65 +        </array>
    2.66 +        <key>UISupportedInterfaceOrientations</key>
    2.67 +        <array>
    2.68 +            <string>UIInterfaceOrientationPortrait</string>
    2.69 +            <string>UIInterfaceOrientationLandscapeLeft</string>
    2.70 +            <string>UIInterfaceOrientationLandscapeRight</string>
    2.71 +            <string>UIInterfaceOrientationPortraitUpsideDown</string>
    2.72 +        </array>
    2.73 +    </dict>
    2.74 +</plist>
     3.1 --- a/minesweeper/pom.xml	Fri Aug 08 16:11:30 2014 +0200
     3.2 +++ b/minesweeper/pom.xml	Thu Sep 11 21:27:01 2014 +0200
     3.3 @@ -286,7 +286,7 @@
     3.4                <dependency>
     3.5                    <groupId>org.apidesign.brwsr</groupId>
     3.6                    <artifactId>dlvkbrwsr</artifactId>
     3.7 -                  <version>0.8.1</version>
     3.8 +                  <version>1.0</version>
     3.9                    <type>jar</type>
    3.10                </dependency>
    3.11                <dependency>
    3.12 @@ -479,7 +479,7 @@
    3.13                <dependency>
    3.14                    <groupId>org.apidesign.brwsr</groupId>
    3.15                    <artifactId>ibrwsr</artifactId>
    3.16 -                  <version>0.8.1</version>
    3.17 +                  <version>1.0</version>
    3.18                    <scope>runtime</scope>
    3.19                </dependency>
    3.20            </dependencies>
    3.21 @@ -564,8 +564,13 @@
    3.22                                        </includes>
    3.23                                    </resource>
    3.24                                </resources>
    3.25 +                               <iosInfoPList>Info.plist.xml</iosInfoPList>
    3.26                            </config>
    3.27                            <includeJFX>false</includeJFX>
    3.28 +                          <!--                      
    3.29 +                          <iosSignIdentity>iPhone Distribution</iosSignIdentity>
    3.30 +                          <iosProvisioningProfile>9728E91B-1BB7-40D6-8922-3DD3BA5E6ECD</iosProvisioningProfile> 
    3.31 +                          -->
    3.32                        </configuration>
    3.33                    </plugin>
    3.34                </plugins>
     4.1 --- a/minesweeper/src/main/java/org/apidesign/demo/minesweeper/Main.java	Fri Aug 08 16:11:30 2014 +0200
     4.2 +++ b/minesweeper/src/main/java/org/apidesign/demo/minesweeper/Main.java	Thu Sep 11 21:27:01 2014 +0200
     4.3 @@ -23,6 +23,7 @@
     4.4   */
     4.5  package org.apidesign.demo.minesweeper;
     4.6  
     4.7 +import java.util.Locale;
     4.8  import net.java.html.boot.BrowserBuilder;
     4.9  import org.netbeans.api.nbrwsr.OpenHTMLRegistration;
    4.10  import org.openide.awt.ActionID;
    4.11 @@ -39,6 +40,7 @@
    4.12      public static void main(String... args) throws Exception {        
    4.13          BrowserBuilder.newBrowser().
    4.14              loadPage("pages/index.html").
    4.15 +            locale(Locale.getDefault()).
    4.16              loadClass(MinesModel.class).
    4.17              invoke("main", args).
    4.18              showAndWait();
     5.1 --- a/minesweeper/src/main/webapp/pages/index.html	Fri Aug 08 16:11:30 2014 +0200
     5.2 +++ b/minesweeper/src/main/webapp/pages/index.html	Thu Sep 11 21:27:01 2014 +0200
     5.3 @@ -58,15 +58,15 @@
     5.4                  </a>
     5.5                  <button class="btn btn-default navbar-btn" disabled="true" data-bind="disable: false, click: normalGame">
     5.6                      <span>&#x21bb;</span>
     5.7 -                    <span class="hidden-phone">New Game!</span>
     5.8 +                    <span class="info-text">New!</span>
     5.9                  </button>
    5.10 -                <button class="btn btn-default navbar-btn" disabled="true" data-bind="disable: !gameInProgress(), click: giveUp ">
    5.11 +                <button class="hidden-phone btn btn-default navbar-btn" disabled="true" data-bind="disable: !gameInProgress(), click: giveUp ">
    5.12                      <span>&#x2717;</span>
    5.13 -                    <span class="hidden-phone">Show Mines!</span>
    5.14 +                    <span>Show Mines!</span>
    5.15                  </button>
    5.16                  <button class="btn btn-default navbar-btn" disabled="true" data-bind="disable: !gameInProgress(), click: markMine">
    5.17                      <span>&#x26A0;</span>
    5.18 -                    <span class="hidden-phone">Mark Mine!</span>
    5.19 +                    <span class="info-text">Mark Mine!</span>
    5.20                  </button>
    5.21              </div>
    5.22          </div>
    5.23 @@ -185,22 +185,22 @@
    5.24        <div class="caption">
    5.25          <h3>iBrwsr</h3>
    5.26          <p>
    5.27 -            This application can also be packaged to run on your iPhone
    5.28 -            or iPad. It is not yet available on AppStore, but it will.
    5.29 +            This application has been packaged to run on your iPhone
    5.30 +            or iPad and made available on AppStore.
    5.31              In this mode it
    5.32              uses <a target="_blank" href="http://www.robovm.org">RoboVM</a> 
    5.33              virtual machine to execute Java code natively.
    5.34              It uses iOS WebView to display the UI and execute
    5.35              generated JavaScript. Both these components are
    5.36              bound together via <a target="_blank" 
    5.37 -                href="http://wiki.apidesign.org/wiki/IBrwsr">
    5.38 +            href="http://wiki.apidesign.org/wiki/IBrwsr">
    5.39              iBrwsr</a> library.
    5.40          </p>
    5.41          <p>
    5.42 -            <a href="http://wiki.apidesign.org/wiki/IBrwsr"
    5.43 +            <a href="https://itunes.apple.com/us/app/fair-minesweeper/id903688146"
    5.44                 target="_blank"
    5.45                 class="btn btn-primary" role="button"
    5.46 -               >Learn more &raquo;</a> 
    5.47 +               >Install &raquo;</a> 
    5.48          </p>
    5.49        </div>
    5.50      </div>
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/minesweeper/src/main/webapp/pages/index_cs.html	Thu Sep 11 21:27:01 2014 +0200
     6.3 @@ -0,0 +1,247 @@
     6.4 +<!--
     6.5 +
     6.6 +    The MIT License (MIT)
     6.7 +
     6.8 +    Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     6.9 +
    6.10 +    Permission is hereby granted, free of charge, to any person obtaining a copy
    6.11 +    of this software and associated documentation files (the "Software"), to deal
    6.12 +    in the Software without restriction, including without limitation the rights
    6.13 +    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    6.14 +    copies of the Software, and to permit persons to whom the Software is
    6.15 +    furnished to do so, subject to the following conditions:
    6.16 +
    6.17 +    The above copyright notice and this permission notice shall be included in
    6.18 +    all copies or substantial portions of the Software.
    6.19 +
    6.20 +    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    6.21 +    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    6.22 +    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    6.23 +    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    6.24 +    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    6.25 +    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    6.26 +    THE SOFTWARE.
    6.27 +
    6.28 +-->
    6.29 +<!DOCTYPE html>
    6.30 +<html>
    6.31 +    <head>
    6.32 +        <title>Férové miny</title>
    6.33 +        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    6.34 +        <link href="bootstrap.css" rel="stylesheet">
    6.35 +        <link href="bootstrap-responsive.css" rel="stylesheet">
    6.36 +        <link href="mines.css" rel="stylesheet">
    6.37 +        <!-- Target tablets -->
    6.38 +        <link href="mines-tablet-large.css" 
    6.39 +              media="(min-width:640px), (min-height:660px)" 
    6.40 +              rel="stylesheet" />
    6.41 +        <link href="mines-tablet-small.css" 
    6.42 +              media="(min-width:510px) and (max-width:640px), (min-height:520px) and (max-height:660px)" 
    6.43 +              rel="stylesheet" />
    6.44 +        <!-- Target phones -->
    6.45 +        <link href="mines-phone-large.css" 
    6.46 +              media="(min-width:410px) and (max-width:510px), (min-height:400px) and (max-height:520px)" 
    6.47 +              rel="stylesheet" />
    6.48 +        <link href="mines-phone-small.css" 
    6.49 +              media="(min-width:300px) and (max-width:410px), (min-height:300px) and (max-height:400px)" 
    6.50 +              rel="stylesheet" />
    6.51 +        <link href="mines-phone-smaller.css" 
    6.52 +              media="(max-width:300px), (max-height:300px)" 
    6.53 +              rel="stylesheet" />
    6.54 +    </head>
    6.55 +    <body>
    6.56 +        <div class="navbar">
    6.57 +            <div class="navbar-inner">
    6.58 +                <a id="apptitle" class="brand" href="#" data-bind="click: showHelp">
    6.59 +                    <img height="20" width="20" src="DukeSweeper.png">
    6.60 +                    <span class="hidden-phone">Miny</span>
    6.61 +                </a>
    6.62 +                <button class="btn btn-default navbar-btn" disabled="true" data-bind="disable: false, click: normalGame">
    6.63 +                    <span>&#x21bb;</span>
    6.64 +                    <span class="info-text">Hra</span>
    6.65 +                </button>
    6.66 +                <button class="hidden-phone btn btn-default navbar-btn" disabled="true" data-bind="disable: !gameInProgress(), click: giveUp ">
    6.67 +                    <span>&#x2717;</span>
    6.68 +                    <span>Vzdát</span>
    6.69 +                </button>
    6.70 +                <button class="btn btn-default navbar-btn" disabled="true" data-bind="disable: !gameInProgress(), click: markMine">
    6.71 +                    <span>&#x26A0;</span>
    6.72 +                    <span class="info-text">Označkovat</span>
    6.73 +                </button>
    6.74 +            </div>
    6.75 +        </div>
    6.76 +
    6.77 +
    6.78 +        <script type="text/html" id="field">
    6.79 +          <center>
    6.80 +              <table class="field" data-bind="css: gameStyle">
    6.81 +                <tbody>
    6.82 +                    <!-- ko foreach: rows -->
    6.83 +                    <tr>
    6.84 +                        <!-- ko foreach: columns -->
    6.85 +                        <td data-bind="css: style, click: $parents[1].click" >
    6.86 +                            <div></div>
    6.87 +                        </td>
    6.88 +                        <!-- /ko -->
    6.89 +                    </tr>
    6.90 +                    <!-- /ko -->
    6.91 +                </tbody>
    6.92 +            </table>
    6.93 +          </center>
    6.94 +        </script>
    6.95 +
    6.96 +        <div data-bind="template: { name : 'field', if: fieldShowing }"></div>
    6.97 +        
    6.98 +        <div class="jumbotron control-label" data-bind="visible: !fieldShowing() ">
    6.99 +            <div class="container">
   6.100 +                <h1>Ukázka HTML/Java technologie</h1>
   6.101 +
   6.102 +                <p>Na první pohled se jedná o staré dobré <em>miny</em>.
   6.103 +                   Bližší pohled však odhalí revoluční technologii, jež 
   6.104 +                   umožňuje programovat logiku aplikace v <strong>Javě</strong>
   6.105 +                   a uživatelské rozhraní definovat v <strong>HTML</strong>.
   6.106 +                   To vše na jakémkoli zařízení schopném zobrazit moderní 
   6.107 +                   <strong>HTML5</strong> prohlížeč.
   6.108 +                </p>
   6.109 +                <p><a class="btn btn-primary btn-lg" role="button" 
   6.110 +                      target="_blank" href="http://html.java.net"
   6.111 +                >Navštívit stránky projektu</a>
   6.112 +                </p>
   6.113 +            </div>
   6.114 +        </div>
   6.115 +
   6.116 +    <div class="container" data-bind="visible: !fieldShowing()">
   6.117 +      <div>
   6.118 +        <div class="col-md-4">
   6.119 +          <h2>Miny</h2>
   6.120 +          <p>
   6.121 +              Odhalte deset políček jež skrývají miny 
   6.122 +              a označte je znakem &#x26a0;.
   6.123 +              Dotykem políčka se zjistí,  
   6.124 +              zda-li je na něm mina či kolik min se 
   6.125 +              nachází v sousedních osmi políčkách.
   6.126 +              Nespoléhejte na náhodu,
   6.127 +              tato verze min dokáže detekovat 
   6.128 +              náhodné hádání a v takovém případě přerovnat miny.
   6.129 +              Tato hra je <b>fér</b>!
   6.130 +          </p>
   6.131 +          <p><a class="btn btn-default" href="#" data-bind="click: normalGame"role="button">Hrát &raquo;</a></p>
   6.132 +        </div>
   6.133 +        <div class="col-md-4">
   6.134 +          <h2>Dokumentace</h2>
   6.135 +          <p>
   6.136 +              Chcete-li psát aplikace jako je tato
   6.137 +              (tedy používat <strong>Javu</strong> a <strong>HTML</strong>)
   6.138 +              můžete se nyní dozvědět něco o knihovnách, které 
   6.139 +              to umožňují. Následující odkaz Vás zavede
   6.140 +              stránky s dokumentací.
   6.141 +          </p>
   6.142 +          <p><a class="btn btn-default"
   6.143 +                target="_blank" href="http://bits.netbeans.org/html+java/"
   6.144 +                role="button">Více &raquo;</a></p>
   6.145 +       </div>
   6.146 +        <div class="col-md-4">
   6.147 +          <h2>Verze pro prohlížeč</h2>
   6.148 +          <p>
   6.149 +              Tato technologie je primárně určena pro
   6.150 +              klasické osobní počítače či pro tablety a telefony. 
   6.151 +              Přesto je však možné spustit tu samou aplikaci
   6.152 +              s nezměným kódem v prohlížeči. Je k tomu potřeba
   6.153 +              implementace <b>Java</b> virtuálního stroje zvaná
   6.154 +              <a href="http://bck2brwsr.apidesign.org">bck2brwsr</a>.
   6.155 +          </p>
   6.156 +          <p><a class="btn btn-default"
   6.157 +                target="_blank" href="http://xelfi.cz/minesweeper/bck2brwsr/"
   6.158 +                role="button">Vyzkoušet &raquo;</a></p>
   6.159 +       </div>
   6.160 +      </div>
   6.161 +    </div>
   6.162 +<div class="container" data-bind="visible: !fieldShowing()">
   6.163 +  <div class="col-sm-6 col-md-4">
   6.164 +    <div class="thumbnail">
   6.165 +        <img src="android_logo.jpg" width="120" height="120" alt="Android">
   6.166 +      <div class="caption">
   6.167 +        <h3>DlvkBrwsr</h3>
   6.168 +        <p>
   6.169 +            Tato apliace byla přeložena pro Váš telefon se systémem Android
   6.170 +            a je dostupná na  Google Play! tržišti. V této konfiguraci
   6.171 +            se používá virtuální stroj Dalvik pro spouštění <b>Java</b> kódu 
   6.172 +            a Androidí WebView k zobrazení uživatelského rozhraní a 
   6.173 +            interpretaci generovaného JavaScriptu. Tyto komponenty jsou
   6.174 +            spojeny dohromady pomocí <a href="http://wiki.apidesign.org/wiki/DlvkBrwsr">
   6.175 +            DlvkBrwsr</a> technologie.
   6.176 +        </p>
   6.177 +        <p>
   6.178 +            <a href="https://play.google.com/store/apps/details?id=org.apidesign.demo.minesweeper"
   6.179 +               target="_blank"
   6.180 +               class="btn btn-primary" role="button"
   6.181 +               >Instalovat &raquo;</a> 
   6.182 +        </p>
   6.183 +      </div>
   6.184 +    </div>
   6.185 +  </div>
   6.186 +  <div class="col-sm-6 col-md-4">
   6.187 +    <div class="thumbnail">
   6.188 +        <img src="ios_logo.jpg" width="120" height="120" alt="Android">
   6.189 +      <div class="caption">
   6.190 +        <h3>iBrwsr</h3>
   6.191 +        <p>
   6.192 +            Tato aplikace byla přeložena a zabalena tak, aby běžela na
   6.193 +            Vašem iPhonu
   6.194 +            nebo iPadu a je dostupná na tržišti AppStore.
   6.195 +            V této konfiguraci se používá
   6.196 +            virtuální stroj <a target="_blank" href="http://www.robovm.org">RoboVM</a> 
   6.197 +            pro přeložení <b>Java</b> kódu do nativního formátu.
   6.198 +            Pro zobrazení a provádění vygenerovaného JavaScriptu
   6.199 +            se využívá iOS WebView. Obě tyto komponenty jsou spojeny 
   6.200 +            pomocí <a target="_blank" 
   6.201 +                href="http://wiki.apidesign.org/wiki/IBrwsr">
   6.202 +            iBrwsr</a> knihovny.
   6.203 +        </p>
   6.204 +        <p>
   6.205 +            <a href="https://itunes.apple.com/us/app/fair-minesweeper/id903688146"
   6.206 +               target="_blank"
   6.207 +               class="btn btn-primary" role="button"
   6.208 +               >Instalovat &raquo;</a> 
   6.209 +        </p>
   6.210 +      </div>
   6.211 +    </div>
   6.212 +  </div>
   6.213 +  <div class="col-sm-6 col-md-4">
   6.214 +    <div class="thumbnail">
   6.215 +        <img src="netbeans_logo.jpg" width="120" height="120" alt="Android">
   6.216 +      <div class="caption">
   6.217 +        <h3>Vyvíjejte své aplikace!</h3>
   6.218 +        <p>
   6.219 +            Tuto aplikace lze zabalit jako 
   6.220 +            <a href="http://plugins.netbeans.org/plugin/53864/"
   6.221 +               target="_blank"
   6.222 +            >rozšíření pro NetBeans</a> a nebo
   6.223 +            lze použít vývojové prostředí 
   6.224 +            <a href="http://www.netbeans.org" target="_blank">
   6.225 +            NetBeans</a> k vytvoření své vlastní aplikace,
   6.226 +            jež bude využívat synergie 
   6.227 +            <em>HTML</em> a <em>Javy</em>.
   6.228 +            Pište své aplikace jednou a zobrazte je na 
   6.229 +            každém zařízení schopném zobrazit <em>HTML</em>!
   6.230 +        </p>
   6.231 +        <p>
   6.232 +            <a href="http://wiki.apidesign.org/wiki/DukeScriptInNetBeans"
   6.233 +               target="_blank"
   6.234 +               class="btn btn-primary" role="button"
   6.235 +               >Vyvíjejte &raquo;</a> 
   6.236 +        </p>
   6.237 +      </div>
   6.238 +    </div>
   6.239 +  </div>
   6.240 +</div>
   6.241 +        <!-- boot bck2brwsr -->
   6.242 +        <script type="text/javascript" src="bck2brwsr.js"></script>
   6.243 +        <script>
   6.244 +            var vm = bck2brwsr('minesweeper.js');
   6.245 +            var c = vm.loadClass('org.apidesign.demo.minesweeper.MinesModel');
   6.246 +            c.invoke('main');
   6.247 +        </script>
   6.248 +
   6.249 +    </body>
   6.250 +</html>
     7.1 --- a/minesweeper/src/main/webapp/pages/mines-phone-small.css	Fri Aug 08 16:11:30 2014 +0200
     7.2 +++ b/minesweeper/src/main/webapp/pages/mines-phone-small.css	Thu Sep 11 21:27:01 2014 +0200
     7.3 @@ -51,3 +51,6 @@
     7.4  .col-md-1 {
     7.5   width: 100%;
     7.6  }
     7.7 +.info-text {
     7.8 +    font-size: xx-small;
     7.9 +}
     8.1 --- a/minesweeper/src/main/webapp/pages/mines-phone-smaller.css	Fri Aug 08 16:11:30 2014 +0200
     8.2 +++ b/minesweeper/src/main/webapp/pages/mines-phone-smaller.css	Thu Sep 11 21:27:01 2014 +0200
     8.3 @@ -52,3 +52,6 @@
     8.4  .col-md-1 {
     8.5   width: 100%;
     8.6  }
     8.7 +.info-text {
     8.8 +    font-size: xx-small;
     8.9 +}
     9.1 --- a/minesweeper/src/main/webapp/pages/mines.css	Fri Aug 08 16:11:30 2014 +0200
     9.2 +++ b/minesweeper/src/main/webapp/pages/mines.css	Thu Sep 11 21:27:01 2014 +0200
     9.3 @@ -33,6 +33,10 @@
     9.4      background-color: #fafafa;
     9.5  }
     9.6  
     9.7 +table {
     9.8 +    table-layout: fixed;
     9.9 +}
    9.10 +
    9.11  table.field {
    9.12  }
    9.13  table.field td {
    9.14 @@ -106,6 +110,7 @@
    9.15  
    9.16  table.PLAYING td.UNKNOWN div::after {
    9.17      content: "\0026a0";
    9.18 +    visibility: hidden;
    9.19  }
    9.20  table.field td.EXPLOSION div::after {
    9.21      content: "\002717";
    9.22 @@ -118,8 +123,7 @@
    9.23  }
    9.24  table.field td.N_0 div::after {
    9.25      content: "\0026a0";
    9.26 -    background-color: white;
    9.27 -    color: white;
    9.28 +    visibility: hidden;
    9.29  }
    9.30  table.field td.N_1 div::after {
    9.31      content: "\002780";
    10.1 --- a/pom.xml	Fri Aug 08 16:11:30 2014 +0200
    10.2 +++ b/pom.xml	Thu Sep 11 21:27:01 2014 +0200
    10.3 @@ -13,7 +13,7 @@
    10.4    </parent>  
    10.5    <properties>
    10.6        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    10.7 -      <net.java.html.version>0.8.3</net.java.html.version>
    10.8 +      <net.java.html.version>1.0</net.java.html.version>
    10.9        <nb.html.version>0.8.3</nb.html.version>
   10.10        <bck2brwsr.version>0.9</bck2brwsr.version>
   10.11        <teavm.version>0.1</teavm.version>