# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Methods

- Deprecated Classes
  Class and Description
  com.jgoodies.forms.factories.Borders Replaced by `Paddings`.
  com.jgoodies.forms.builder.DefaultFormBuilder Replaced by the `FormBuilder` and the internationalization support provided by the JGoodies Smart Client `Resources` class. Although deprecated, this class will remain in the Forms library for the next versions.
  com.jgoodies.forms.builder.I15dPanelBuilder Replaced by the internationalization support provided by the JGoodies Smart Client `Resources` class. Although deprecated, this class will remain in the Forms library for the next versions.
  com.jgoodies.forms.builder.PanelBuilder Replaced by `FormBuilder`. However, this class will remain in the Forms library for the next versions.

- Deprecated Methods
  Method and Description
  com.jgoodies.forms.builder.FormBuilder.border(String) Use `FormBuilder.padding(String, Object...)` instead
  com.jgoodies.forms.internal.AbstractBuilder.border(String) Replaced by `AbstractBuilder.padding(String, Object...)`
  com.jgoodies.forms.factories.Forms.border(String, JComponent) Use `Forms.padding(JComponent,String, Object...)` instead
  com.jgoodies.forms.factories.Borders.createEmptyBorder(ConstantSize, ConstantSize, ConstantSize, ConstantSize) Replaced by `Paddings.createPadding(ConstantSize, ConstantSize, ConstantSize, ConstantSize)`.
  com.jgoodies.forms.factories.Borders.createEmptyBorder(String) Replaced by `Paddings.createPadding(String, Object...)`.
  com.jgoodies.forms.internal.AbstractBuilder.getContainer() Replaced by `AbstractBuilder.getPanel()`
  com.jgoodies.forms.internal.AbstractButtonPanelBuilder.setBackground(Color) Replaced by `AbstractBuilder.background(Color)`
  com.jgoodies.forms.internal.AbstractButtonPanelBuilder.setBorder(Border) Replaced by `AbstractBuilder.border(Border)`
  com.jgoodies.forms.internal.AbstractButtonPanelBuilder.setOpaque(boolean) Replaced by `AbstractBuilder.opaque(boolean)`

Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.