Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

Window doesn't always get right window #2

@Motley90

Description

@Motley90

I know this source is abandoned at this point. But if you have several windows with the same name but with extra at the end it will automatically assume it's the right window.

public static void main(String[] args) throws WindowNotFoundException, MemoryException
{
JTrainer jTrainer = new JTrainer(null, "Liberty Unleashed 0.1");
jTrainer.setWindow(null, "Liberty Unleashed 0.1");
Gui.enableWindow();
}

Adding setWidow seems to specify that it's the right window when you have:
"Liberty Unleashed 0.1"
"Liberty Unleashed 0.1 Server"
"Liberty Unleashed 0.1 Server Browser"
All sharing the same name nonetheless. Seems it just tries to find the window title instantly versus trying to compare how many characters are in the string etc.
@lure0xaos I just realized I'm using your version which in comparison has more added features

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions