Categories

JAVA DATEBASE
Technology Network Community
Oracle Database
Fusion Middleware
Development Tools
Java
Desktop
Server & Storage Systems
Enterprise Management
Berkeley DB Family
Cloud Computing
Big Data
Business Intelligence
Architecture
Migration and Modernization
E-Business Suite
Siebel
PeopleSoft Enterprise
JD Edwards World
Industries
JD Edwards EnterpriseOne
User Productivity Kit Pro (UPK) and Tutor
Governance, Risk & Compliance (GRC)
Master Data Management (MDM)
Oracle CRM On Demand
On Demand: SaaS and Managed Applications
AutoVue Enterprise Visualization
Primavera
ATG
Agile PLM
Endeca Experience Management
Fusion Applications
Archived Forums

 



Tags

JDeveloper and ADF


Adding icon to a button


Hello  When I put a JButton on a frame I see in Property Inspector , Visial tab a icon section which it's follow is   "<none>" how I can use it for adding a icon to the button  my mean is  I want add an icon to button by Property Inspector , but I don't know how I can do it can you say to me ?  thanks

Hi,  I don't think the property inspector will help you adding the icon because it needs to be added from the class loader path. In an older JCLient Demo we used the following class  public class ImageLoader {    public ImageLoader()    {    }      public ImageIcon getImageIcon(String name)    {       return new ImageIcon(getClass().getResource(name + ".gif"));    } }   This then could be called when setting the icon to a JButton at runtime, passing the icon name to it  Frank


Related Links

using javascript to override pressing function keys (f1,f3,f6,f7,....)
ADF ComboBox
A selected row in af:table does not get sorted.
SOA 10g installation problem in Windows 7
How to fire the validation and show the popup message after data entered
validation failure resetting the values
ADF Bindings 11.1.1.3.0 and EJB 3.0: How to use a factory?
Possible bugs in JDevStudio11.1.1.3
access session variable inside AM module
Deploying ADF Mobile application to Weblogi
Non relational data in an Entity Object
Get the id or namespace of container of ADF Task flow
perhaps a bug of inputComboboxListOfValues
Problem using Simple Navigation Pane and taskflows
Navigation menu in page template
MDS Customisation Capabilities - JDeveloper 11.1.1.2.0