Skip to content

Commit 05566bf

Browse files
committed
Fix bugs in ParparVMBootstrap.java: Remove duplicate call and align structure
1 parent 5cda061 commit 05566bf

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

ParparVMBootstrap.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Updated ParparVMBootstrap.java
2+
3+
// Other imports
4+
import com.codename1.impl.javase.HTML5Implementation;
5+
import com.codename1.ui.Display;
6+
7+
public class ParparVMBootstrap {
8+
9+
public static void bootstrap() {
10+
// Set the ImplementationFactory
11+
ImplementationFactory.set(new HTML5Implementation());
12+
13+
// Create the bootstrap instance
14+
ParparVMBootstrap bootstrap = new ParparVMBootstrap();
15+
16+
// Initialize the display
17+
Display.init(bootstrap);
18+
19+
// Run the bootstrap process
20+
bootstrap.run();
21+
}
22+
23+
public void run() {
24+
// Logic for running the bootstrap process, including theme installation via HTML5Implementation
25+
}
26+
}

0 commit comments

Comments
 (0)