Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Hot corner implementation in Java. Inspired by GNOME 3.10.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
README.md

README.md

JHotCorner

Hot corner implementation in Java. Inspired by GNOME 3.10.

How to use

Implement 'JHotCornerInterface'. That will add four methods:

    @Override
    public void onTopLeftCorner() {

    }

    @Override
    public void onTopRightCorner() {

    }

    @Override
    public void onBottomLeftCorner() {

    }

    @Override
    public void onBottomRightCorner() {

    }

To register a corner:

JHotCorner.getInstance().registerHotCorner(JHotCorner.Corner.TOP_LEFT, this);

To show default corner image:

JHotCorner.getInstance().setShowCornerImage(true);

To set own corner image:

JHotCorner.getInstance().setCornerImageUrl(getClass().getClassLoader().getResource("example.png"));

To change corner radius:

JHotCorner.getInstance().setCornerRadius(60);
Something went wrong with that request. Please try again.