ADF Swing
How-to build dependent, model driven list of values in ADF Swing
Friday, October 31st, 2008In JDeveloper 10.1.3, the sole option to create a list of value is a manual configuration that associated the list VO with the source attribute that consumes the returned value. In JDeveloper 11, a new features of the business component framework allows developers to define the list of values within the View Object for a [...]
ADF Swing: Working with MDI windows and ADF (Working with Internal Frames – part II)
Friday, September 21st, 2007The ADF Swing development team created a simple example for MDI window usage in JDeveloper 11 that I ported to JDeveloper 10.1.3.3. It provides a simple view using Swing JInternal frames to show master/detail screens that are bound to Oracle ADF and that can be opened, closed and re-open as you please.
The code opening the [...]
ADF Swing: Programmatically setting or copying values to ADF bound JTextField
Wednesday, August 15th, 2007The following usecase was reported on the JDeveloper forum on OTN:
A Swing table contains data that should be copied to the input text fields - Swing JTextField - of the parameter form for a method. While the reporting user was able to copy over the values, the added values weren't recognized and thus not send [...]
ADF Swing: Conditional table row highlighting
Monday, August 6th, 2007Assume you have an ADF Swing table that you need to change the background color of a row based on a value, e.g. a checked / unchecked checkbox value, in another column of the same row. Of course, you could get the information about the column value from ADF, but from a performance point of [...]
ADF Swing: Dependent Listboxes
Monday, July 23rd, 2007Using ADF Swing, dependent list boxes are realized with a minimum number of code lines. In this example. the business service is created with ADF Business Components, showing the following ViewObject hierarchy:
The model shows a dependency between the DepartmentsView1 view object and the EmployeesView3 view objects. This dependency is managed by ADF Business components, which [...]
ADF Swing: Printing the content of JTable
Monday, July 16th, 2007If you created a JTable in ADF Swing and use the new print() method in Java SE 5 to print the table content, chances are that the printed output looks similar to this:
The reason for this unwanted print display is that the ADF iterator for the table has the rangeSize property set to 10, which [...]
ADF Swing: Switch table cell into edit mode on keyboard navigation
Monday, July 2nd, 2007Oracle ADF Swing - in Oracle JDeveloper 10.1.3.x - allows developers to declaratively define table cell editors to be rendered e.g. as a combo box. To activate the combo box, the application user clicks with the mouse into a table cell.
To show the combobox when navigating through a table - e.g. using the tab key [...]
