How To Install liblaf-widget-java on Ubuntu 18.04

In this tutorial we learn how to install liblaf-widget-java on Ubuntu 18.04. liblaf-widget-java is Java widget toolbox for other look-and-feel libraries

Introduction

In this tutorial we learn how to install liblaf-widget-java on Ubuntu 18.04.

What is liblaf-widget-java

liblaf-widget-java is:

Laf-Widget project provide support for and base set of additional behaviour and widgets in look-and-feels libraries.

The list of currently provided widgets (from v4)

  • Auto-completion (model-based / free-text) on editable combo boxes.
  • Hover preview of minimized internal frames on desktop icons.
  • Menu search panel on menu bars.
  • Hover preview of tab in tabbed panes.
  • Overview dialog on tabbed panes with optional periodic refresh.
  • Tab paging on tabbed panes.
  • Password strength checker on password fields.
  • Lock border on non-editable text components and model editable combobox.
  • Select all text in text component on focus gain.
  • Context menu on text components with edit actions (copy / paste / cut …).
  • Enhanced drag-and-drop support for trees.
  • Scroll pane selector.
  • Selecting / deselecting in text components on Escape key press.

Laf-Widget is used by substance look-and-feel since 3.0

There are three methods to install liblaf-widget-java on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install liblaf-widget-java Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install liblaf-widget-java using apt-get by running the following command:

sudo apt-get -y install liblaf-widget-java

Install liblaf-widget-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liblaf-widget-java using apt by running the following command:

sudo apt -y install liblaf-widget-java

Install liblaf-widget-java Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install liblaf-widget-java using aptitude by running the following command:

sudo aptitude -y install liblaf-widget-java

How To Uninstall liblaf-widget-java on Ubuntu 18.04

To uninstall only the liblaf-widget-java package we can use the following command:

sudo apt-get remove liblaf-widget-java

Uninstall liblaf-widget-java And Its Dependencies

To uninstall liblaf-widget-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liblaf-widget-java

Remove liblaf-widget-java Configurations and Data

To remove liblaf-widget-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblaf-widget-java

Remove liblaf-widget-java configuration, data, and all of its dependencies

We can use the following command to remove liblaf-widget-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liblaf-widget-java

References

Summary

In this tutorial we learn how to install liblaf-widget-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.