Giter VIP home page Giter VIP logo

swing-htabs's Introduction

swing-htabs

Hierarchical tabs for Swing.

Screenshot of swing-htabs

Background

The Java Swing UI doesn't have support for creating hierarchical tabs (tabs that are shown as a tree). We needed this for gngr. We couldn't find any existing libraries to achieve this, hence this project.

Status

The current status of this library is a proof-of-concept. We are using a little hack to indent the tab components in a custom JTabbedPane. It works fine in our tests, but we need more testing. Please see the contributing section below.

The Metal LAF has a small, known issue. The tabs in this LAF have a little notch that overlaps with the next tab, making it difficult to indent without looking odd. As a workaround we are indenting only the tab content.

The API will be stabilized after testing.

Contributing

We need more testing to complete this matrix:

JRE v/s LAF Metal GTK+ Nimbus Motif Windows Windows Classic MacOSX
Ubuntu14.x + OracleJRE8 - - -
Ubuntu14.10 + OpenJDK7 - - -
Windows XP + Oracle JVM 7 - -
MacOSX + OracleJRE8 - - -
TODO: More Windows versions - - - - - - -

How to test

Testing is easy; download the latest jar from the releases page. After running the jar file, you will see some randomly generated tabs, with the System LAF. Try switching to other LAFs using the radio buttons on the top. Append your report to this issue

Copyright and License

Copyright 2014 Uproot Labs India

Distributed under the Apache v2 License

swing-htabs's People

Contributors

hrj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.