The Project        Download   Javadoc   SourceForge

Japura is a Java Swing project. It is an application framework and collection of components.

The project is open source (under the LGPL license).

Contact: This e-mail address is being protected from spambots. You need JavaScript enabled to view it , LinkedIn, Mail List
Feel free to send me your suggestions or feedbacks.

 

News

next version

  • SplitButton
    • bug fix: setButton method not working properly with NULL parameter. Thanks Jan Vos.
  • ToolTipButton
    • bug fix: not working properly with HTML texts.

29 November 2011 - Japura 1.14.3 available

  • CheckList
    • bug fix: keyboard command CTRL+C not working properly (only for cursor mouse over on a checked item).
  • CheckListTransferHandler
    • new methods: getComparator and setComparator to order the transferable list.
  • CheckListRenderer
    • new methods: setHighlight and getHighlight.
  • DefaultListCheckModel
    • bug fix: accepting lock and check elements not contained in the model.

04 November 2011 - Japura 1.14.2 available

  • ButtonTextField
    • new listener: ButtonTextFieldListener to detect button selection changes.
  • Controller
    • removed annotation: DisposeAction.
    • new methods: beforeFreeController and afterFreeController.

06 October 2011 - Japura 1.14.1 available

  • New class: AbstractComboBox
  • CheckComboBox
    • extending from AbstractComboBox.
    • setItemsChooserVisible method renamed to setPopupVisible
    • isItemsChooserVisible method renamed to isPopupVisible
  • Controller
    • new methods: isRemoved and createDebugPanel.
  • TaskManager
    • new method: createDebugPanel.

04 September 2011 - Japura 1.14.0 available

  • Controller
    • feature to restrict a child controller be only obtained by the group.
    • feature to link two controllers.
    • bug fix: isRoot method not working properly.
  • CheckList
    • adding DragAndDrop feature
    • new classes: CheckListTransferHandler and CheckListTransferable
  • Tasks
    • new execution mode: asynchronous
    • one executor for each controller group
    • new class: Mode
    • AbstractTask
      • removed methods: isNested and setNested
      • new methods: setMode and getMode

20 August 2011 - Japura 1.13.0 available

  • Tasks
    • new classes: LinkedTask, ControllerWrapper, CallableWrapper and RunnableWrapper
    • new features
      • nested tasks
      • retry function
      • task debug window
    • refactor
      • org.japura.task.Task.HandlerExceptionParameters moved to org.japura.exception.HandlerExceptionParameters
    • Task
      • refactor
        • handleException(Exception exception, Integer taskGroupId) changed to handleException(Exception exception)
      • new methods: removed, getControllerWrapper, setNested(boolean nested), retry, cancel, isRemoved, isCanceled, isNested, isExecuted, setName(String name) and setException(Exception ex)
    • TaskManager
      • removed methods: execute(Integer taskGroupId, String message, Task task) and execute(Integer taskGroupId, Task task)
      • new methods: submit(AbstractTask task), cancelAll, getQueueCount, hasTaskRunning and showDebugWindow
  • Controller
    • refactor
      • execute(String, Task) changed to execute(AbstractTask, String)
      • org.japura.controller.TaskExecutionProgress renamed and moved to org.japura.task.listener.TaskExecutionProgressListener
    • new methods: execute(AbstractTask task), executeAndFree(AbstractTask task, String message), executeAndFree(AbstractTask task), taskExecutionError(AbstractTask task), canExecute(AbstractTask task) and cancelExecutions
    • removed methods: freeAfterCurrentExecution

18 July 2011 - Japura 1.12.5 available

  • CheckComboBox and CheckList
    • bug fix: not working properly with Substance look and feel

29 June 2011 - Japura 1.12.4 available

  • DateUtil
    • new methods:
      • toString(DateMask mask, DateSeparator separator, long date, TimeZone timeZone)
      • toString(Locale locale, DateSeparator separator, long date, TimeZone timeZone)
  • ArrowButton
    • new buttons: FIRST and LAST

10 May 2011 - Japura 1.12.3 available

  • CheckComboBox
    • bug fix: setForeground and setBackground methods not working properly
    • new feature: embedded component
    • renderer refactor: painting the background of the item under the mouse cursor
  • New component: BatchSelection to be used as embedded component in CheckComboBox

28 April 2011 - Japura 1.12.2 available

  • Controller - Message
    • new interface: Subscriber
    • new methods: registerSubscriber, removeSubscriber, removeSubscribers, getSubscribers and getSubscribersCount
  • CheckComboBox
    • removed methods: setMultipleItemsText and getMultipleItemsText
    • new methods: getTextFor, setTextFor and removeTextFor

26 April 2011 - Japura 1.12.1 available

  • CheckComboBox
    • bug fix for all look and feels
      • popup items not working properly (need two clicks to show again)
      • component not painting properly
    • refactor
      • removed renderer: CheckComboBoxRenderer
      • new renderer: CheckListRenderer
      • removed methods: setSelectionBackground, getSelectionBackground, setMargin and getMargin
      • new methods: setPrototypeDisplayValue, getPrototypeDisplayValue, setVisibleRowCount and getVisibleRowCount
  • Controller - Message: allows the publisher to receive your own messages

18 April 2011 - Japura 1.12.0 available

  • New component: LinkLabel
  • ArrowButton:
    • bug fix: no disabled foreground color
    • new feature: actionListeners
    • new constructor: arrow size is available
  • Controller:

    new features:

    • messages between controllers (publish/subscribe/filters)
    • DebugWindow

    hierarchy refactor:

    • methods renamed:
      • getTopController to getRoot
      • getTopController(int groupId) to getRoot(int groupId)
      • getUpControllerId to getParentId
    • new methods:
      • getParent
      • getChildren
      • getChildren(Class clss)
      • getChild(Class clss)
      • getChild(int id)
      • isChildInstancied(Class cls)
      • isRoot
    • free method: remove children controllers too

03 March 2011 - Japura 1.11.1 available

  • TitlePanel(bug fix): getMinimumSize method not working properly
  • Calendar refactor:
    • added: PropertiesProvider and DefaultPropertiesProvider
    • CalendarProperties moved to DefaultPropertiesProvider

26 February 2011 - Japura 1.11.0 available

  • New document model: DateDocument
  • New components:
  • SplitButton - new methods:
    • setButtonVisible
    • isButtonVisible
  • Controller - new methods:
    • getWindowAncestor
    • requestWindowFocus
    • isWindowFocused
    • requestFocus
    • isFocused

18 January 2011 - Japura 1.10.10 available

  • CheckComboBox (bug fix): setEnabled method not working properly
  • PaintedPanel - new methods:
    • removeBackgrounds
    • addBackground(Color color)
    • removeBackground(Color color)
  • TitlePanel:
    • bug fix: top border not painting properly
    • refactor: getTitleMargin and setTitleMargin methods now uses Insets object
    • new methods:
      • setTitleGaps
      • getGapBetweenIconAndTitle
      • getGapBetweenTitleAndTitleComponents
      • getGapBetweenTitleComponents

03 January 2011 - Japura 1.10.9 available

  • DefaultPriorityComboBoxModel: setMinimalSizeForPriority accepts value from 1
  • IntegerDocument and DoubleDocument: accepts only values between minimum and maximum values

23 December 2010 - Japura 1.10.8 available

  • DefaultListCheckModel: accepts repeated elements
  • CollapsiblePanel
    • new constructor without parameters
    • new methods:
      • removeExtraButtons
      • setExtraButtons
      • removeIcon
      • setIcon

02 December 2010 - Japura 1.10.7 available

  • CheckList: PopupMenuBuilder interface to define popup menus
  • ListCheckModel: new methods
    • getLocksCount
    • getChecksCount
    • checkAll
    • lockAll
    • removeChecks
    • removeLocks

08 November 2010 - Japura 1.10.6 available

  • CollapsibleRootPanel (bug fix): remove and removeAll methods not working properly
  • CheckComboBox: popup's size with at least the size of the combobox
  • New document model: IntegerDocument
  • New document model: DoubleDocument

23 July 2010 - Japura 1.10.5 available

  • DefaultListCheckModel (bug fix): clearLockeds method not removing the locked objects
  • CheckComboBoxRenderer: changed to extend ListCellRenderer
  • DefaultCheckComboBoxRenderer: changed to extend CheckListRenderer

15 July 2010 - Japura 1.10.4 available

  • TaskExecutionProgress (bug fix): NullPointerExeception for nonexistent identifier's task execution of controllers.

01 July 2010 - Japura 1.10.3 available

  • PaintedPanel: new method: removeBackground
  • Modal: allows apply modal to a JInternalFrame
  • DynamicList: new method: setItem
  • SplitButton: new methods: isButtonEnabled, getSelectedButton, getRenderer and setRenderer
  • New renderer: SplitButtonRenderer

22 June 2010 - Japura 1.10.2 available

  • DynamicList: new method: getItem
  • ListCheckModel changes:
    • extends ListModel
    • added lock methods to disable items
    • new listeners: ListLockListener and ListModelListener
    • new event: ListEvent

17 June 2010 - Japura 1.10.1 available

  • Modal bug fix: the depth of the last added component was maintained for the previous components.
  • ButtonTextField:
    • new method: setIconCursor
    • default icon cursor: Cursor.HAND_CURSOR

08 June 2010 - Japura 1.10.0 available

  • New component: CheckList
  • New component: CheckComboBox
  • DynamicList: new method getAvailableItemsCount
  • TaskManager: changed to accept multiple listeners
  • Controller:
    • freeAfterExecution method renamed to freeAfterCurrentExecution
    • new method: freeAfterExecutions
    • DefaultTaskManagerListener renamed to TaskExecutionProgress
    • TaskExecutionProgress is no longer added automatically.
    • removed deprecated method: create
    • removed static method: getAllFramesAncestor
    • removed static method: getFramesAncestor(int groupId)
    • removed method: getFrameAncestor
    • added modal group name feature
  • Modal:
    • allows apply modal to a JDialog
    • can choose the depth of the modal
    • ModalEvent changes:
      • constructor parameter: JFrame to RootPaneContainer
      • method getFrame to getRootPane
  • Changes in packages of classes.

    Classes:

    • org.japura.gui.CollapsiblePanelEvent
    • org.japura.gui.CollapsiblePanelListener.java
    • org.japura.gui.PriorityComboBoxEvent
    • org.japura.gui.PriorityComboBoxListener
    • org.japura.gui.PriorityComboBoxRenderer
    • org.japura.gui.PriorityComboBoxModel
    • org.japura.gui.DefaultPriorityComboBoxModel

    Moved to:

    • org.japura.gui.event.CollapsiblePanelEvent
    • org.japura.gui.event.CollapsiblePanelListener
    • org.japura.gui.event.PriorityComboBoxEvent
    • org.japura.gui.event.PriorityComboBoxListener
    • org.japura.gui.renderer.PriorityComboBoxRenderer
    • org.japura.gui.model.PriorityComboBoxModel
    • org.japura.gui.model.DefaultPriorityComboBoxModel

17 May 2010 - Japura 1.9.0 available

03 May 2010 - Japura 1.8.0 available

14 April 2010 - Japura 1.7.1 available

  • I18nManager: the unnecessary getStringKeys method has removed
  • Inner: renamed to ChildController
  • Controller: create method renamed to createChild
  • ExceptionWrapper: has removed
  • HandlerException: handle(ExceptionWrapper wrapper) method refactored to handle(Exception exception, HashMap<String, Object> parameters)

10 April 2010 - Japura 1.7.0 available

  • Task: the done method is not more abstract. The default implementation does nothing.
  • New component: LabelSeparator
 


Partners