revival commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/* Author: Maple
|
||||
* Dec. 12 2025
|
||||
* */
|
||||
|
||||
package org.openautonomousconnection.webclient.ui;
|
||||
|
||||
import lombok.Getter;
|
||||
import org.openautonomousconnection.webclient.network.website.tab.Tab;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URI;
|
||||
|
||||
public final class MainFrame extends BrowserFrame{
|
||||
@Getter
|
||||
private Tab openTab;
|
||||
|
||||
public MainFrame() {
|
||||
this.setSize(800, 600);
|
||||
|
||||
try {
|
||||
this.openTab = new Tab(
|
||||
URI.create("web://open-autonomous-connection.org").toURL()
|
||||
);
|
||||
} catch (MalformedURLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user