> For the complete documentation index, see [llms.txt](https://kree.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kree.gitbook.io/documentation/core-components/window.md).

# Window

This component handles the main window for our game

> Component Author: [Jabo](https://github.com/jabo-bernardo)\
> Release Date: April 11, 2020

{% tabs %}
{% tab title="Usage" %}

```java
new Window(String windowTitle, int width, int height);
```

{% endtab %}

{% tab title="Methods" %}

```java
getWindowWidth(); // Returns Integer

getWindowHeight(); // Returns Integer

getWindowTitle(); // Returns String

getWindow(); // Returns JFrame Object

getCanvas(); // Returns Canvas Object
```

{% endtab %}
{% endtabs %}
