Initilizes the application. It is called only once when the MIDlet is started. The method is called before the startMIDlet method.
()
| 235 | * It is called only once when the MIDlet is started. The method is called before the <code>startMIDlet</code> method. |
| 236 | */ |
| 237 | private void initialize() {//GEN-END:|0-initialize|0|0-preInitialize |
| 238 | // write pre-initialize user code here |
| 239 | bookCanvas = new BookCanvas(this);//GEN-BEGIN:|0-initialize|1|0-postInitialize |
| 240 | bookCanvas.setTitle(null); |
| 241 | bookCanvas.setFullScreenMode(true);//GEN-END:|0-initialize|1|0-postInitialize |
| 242 | // write post-initialize user code here |
| 243 | |
| 244 | /* RMS */ |
| 245 | openRMSAndLoadData(); |
| 246 | |
| 247 | //#if !(TinyMode || TinyModeExport || LightMode || LightModeExport) |
| 248 | /* Initialize Dictionary Manager */ |
| 249 | dictman.reloadDictionaries(dictsFolder); |
| 250 | fillDicts(); |
| 251 | //#endif |
| 252 | |
| 253 | /* |
| 254 | * The BookCanvas must be initialized before usage. This is because |
| 255 | * of the fact, that it wouldn't have correct metrics, i.e. |
| 256 | * wouldn't be in fullscreenmode when looked at from the constructor |
| 257 | */ |
| 258 | bookCanvas.initialize(); |
| 259 | }//GEN-BEGIN:|0-initialize|2| |
| 260 | //</editor-fold>//GEN-END:|0-initialize|2| |
| 261 | |
| 262 | //<editor-fold defaultstate="collapsed" desc=" Generated Method: startMIDlet ">//GEN-BEGIN:|3-startMIDlet|0|3-preAction |
no test coverage detected