0
I Use This!
Activity Not Available

Project Summary

.java-string-literal {color: #99006b}
.java-layer-method {font-family: Monospaced; font-weight: bold}
.java-keywords {color: #000099; font-family: Monospaced; font-weight: bold}



Current Version:



1.01




Requires:


Java 1.3 or later




Download:



transplayout.jar (size: 15 kB)

Introduction
GUI forms have always been filled by setting up their children location and size. Layout management goal is just to keep the look right. Unfortunately, current JDK layout managers are too hard to use. Discovering how to set them up is tricky.
TransparentLayout is intended to lead developers to a more productive, less error-prone GUI building by acting in a fully transparent manner.
Usage
Just set the original component bounds (x, y, width, height) for building anything you need and get the job done. (No boilerplate code is required!)
See a sample code (TransparentLayoutDemo.java).

import net.java.dev.transparentlayout.*;
...
public class TransparentLayoutDemo
{
public static void main(String[] args)
{
JFrame f = new JFrame("TransparentLayout demo");
f.setLayout(new TransparentLayout());
...
f.add(component, new Rectangle(x, y, width, height));
...
f.setVisible(true);
}
}

The hack
TransparentLayout infers the appropriate resizing behavior from the original component bounds, allowing development in a very friendly manner.
The solution can be used either in command-line tools or in graphical ones.
Release

Grids no more! Download TransparentLayout now!

Installation
Copy the downloaded file (*.jar) to the JRE optional package
directory (/lib/ext/) and import the TransparentLayout package in your code. That's all!
Highlights








Highly
productive
World class
Rock solid(64 Test Cases Passed!)

Vote for RFC
If you believe that TransparentLayout can leverage the Java productivity, please vote for it in the Sun Bug Parade.
What about others?
Other layout management initiatives such as TableLayout, ExplicitLayout, FormLayout (aka JGoodies) and GroupLayout (aka Matisse) introduce yet another constraint to learn about. TransparentLayout uses well known Rectangle objects instead.
Authors






Everton Barbosa Gomes is a book writer and SCJP.




Cesar Nascimento is an anime enthusiast and an Java Senior Programmer currently working at IBM.

Tags

java javadesktop transparentlayout

In a Nutshell, transparentlayout...

 Code analysis has not completed

The Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. The source code for this project has been located, but the analysis isn't complete. Feel free to check its progress.
MIT
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    anyone with an Open Hub account can update a project's tags

 Code analysis has not completed

The Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. The source code for this project has been located, but the analysis isn't complete. Feel free to check its progress.

Community Rating

Be the first to rate this project
Click to add your rating
  
Review this Project!