Here you can find the source of createBoxFiller()
public static Component createBoxFiller()
//package com.java2s; /**//from ww w . j av a2 s.com * Copyright (c) 2014, by the Authors: John E Lloyd (UBC) * * This software is freely available under a 2-clause BSD license. Please see * the LICENSE file in the ArtiSynth distribution directory for details. */ import java.awt.Component; import java.awt.Dimension; import javax.swing.Box; public class Main { public static Component createBoxFiller() { Dimension min = new Dimension(0, 0); Dimension max = new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE); return new Box.Filler(min, min, max); } }