New Channel UI implemented.

This commit is contained in:
Asal Lotfi
2025-09-02 01:27:18 +03:30
parent 4eb33b5101
commit 7b54835468
9 changed files with 605 additions and 11 deletions
@@ -210,7 +210,19 @@ public class SidebarMenuController {
}
}
private void createNewChannel() { System.out.println("Creating New Channel..."); }
private void createNewChannel() {
try {
FXMLLoader loader = new FXMLLoader(getClass().getResource(
"/org/to/telegramfinalproject/Fxml/new_channel.fxml"));
Node channelOverlay = loader.load();
// Show overlay (like MyProfile, Contacts, etc.)
MainController.getInstance().showOverlay(channelOverlay);
} catch (IOException e) {
e.printStackTrace();
}
}
private void openContacts() {
try {