Class window in JDeveloper 10.1.3.3.0

Hello
i am developring javabeans such as validator, textbox with password-numeric-alphabetics .
in the documentation they have mension about class editor i can't find it
in developer blog i read that for class window i have to update.after updating also i can't found class editor
please give me information

If you are talking about Swing development then this tutorial can get you started:
http://www.oracle.com/technology/obe/obe1013jdev/10131/adf%20swing/master_detail_page_adfswing_bc.htm
If you are just looking for things like generating accessors for variables have a look at this tutorial:
http://www.oracle.com/technology/obe/obe1013jdev/10131/introide/introjdevide.htm

Similar Messages

  • I am trying to create a class diagram with jdeveloper but class is grey out

    i am trying to create a class diagram with jdeveloper but class is greyed out even though I downloaded the J2EE version
    I went through the following steps :
    Click the project in which you want to create a new diagram, choose File New from JDeveloper's menu, then select General Diagrams in the left pane of the New dialog.
    I have downloaded J2EE Edition Version 10.1.3.1.0.3984

    When the class diagram is disabled - does the wizard for creating a new class in the new->General also disabled?
    If it is then you are not placing your cursor on the project before you choose file->new
    (you are probably on the workspace that contains the project).

  • Creating java code from a class diagram in JDeveloper

    I have created a class diagram in JDeveloper 11.1.1.3.0. When I generated java code from the class diagram by right clicking on the class diagram->transform->same diagram->UML to Java, a .java file is generated with attributes and getters/setters, and also a .uml_cla file is generated. What is this .uml_cla file exactly and what is it used for? Also I have a package.uml_pck file that was created 3 times. I have a package of com.xxx.xxxx, and it put this package.uml_pck file in "com", in "xxx", and in "xxxx". Do I need to retain all 3 of these files in my project?
    One more question related to this. When I change something in the java representation of the class diagram (i.e. a datatype), it updates the .java file that was generated from the class diagram, and it also works the other way...change the .java file and the java representation of the class diagram changes. However, the class diagram that the code was generated from does not change, nor does the mysterious .uml_cla file I asked about in the above paragraph.

    This did work for me, with an exception. I have put the .java files generated from the class diagram in a different package from the .class_diagram file, the package.uml_pck file, and the .uml_cla file to keep the actual source code separate. When I modified the .java file and transformed the class diagram from java to UML, it created the package.uml_pck file and the .uml_cla files again in the same package as the .java file, and they show the update. The package.uml_pck file, and the .uml_cla file that were originally created and are in the separate package from the .java files were untouched, thus the class diagram displayed does not reflect the change either. Does this mean I should not, or cannot, separate these files, and that they all must be left in the same package? (the purpose of separating it in the first place was for ease of deployment since we don't want to deploy any of the class diagram files) Thanks!

  • Hot-(re)deploy classes on OC4J / JDeveloper

    Using JDeveloper 11
    When I change a .jsp the file is automatically redeployed.
    When I change a .java file (for example a managed Bean) and compile it into a .class, the old version is used.
    To see the result of my change I restart the OC4J (takes lot of time).
    --> Is there an easy way to hot-(re)deploy classes on OC4J / JDeveloper? (for example: something in my memory tells me Tomcat can run in a special mode, in which classes are also checked for updated versions and loaded when needed)
    Thanks,
    regards
    Stephan

    Hi,
    this question is better asked on the OC4J forum because JDeveloper consumes what is provided from them. I know there were plans for hot deployment, but I am not sure this is in 11 yet. So you better ask on this forum. In preview JDeveloper 11 doesn't have hot deployment for managed beans.
    Please send questions regarding JDeveloper 11 to JDeveloper and OC4J 11g Technology Preview
    thanks
    Frank

  • UML classes with 9i JDeveloper

    Hello,
    I have installed Oracle's 9i JDeveloper release candidate 2 on my Red Hat 7.2 Linux box.
    I was doing the tutorials of the user's guide and when I tried to do UML classes, I got an error stating that it could not continue with the execution.
    I installed the 9i JDeveloper Release candidate 2 on my windows 98 and when I tried the same tutorial, the UML classes were created successfully.
    Does anybody know what am I lacking? or is this a bug in Linux?
    Thank you in advance.
    Edgar

    Bob,
    The error you are getting is not related to connecting to the database. Instead, it is a bug inside of JDeveloper that is related to expanding the database connection in the Navigator.
    Off the top of my head, I'm not sure what the problem is, but I will try to look back through our bug logs to see what I can dig up. In the meantime, can your confirm for me that the version of JDeveloper you are using is the 9.0.2 production release?
    - John McGinnis
    Oracle JDeveloper Team

  • Weird thing about the structure window in JDeveloper

    Hi !. My name is Agustin and I live in Cordoba, Argentina !. My doubt is the following one: I don't know the reason but I can't see my Structure Window, although I have clicked several times in the View > Structure menu item. Is there any option in JDeveloper to reset the panels as it would be done If I erase my domain ?. Thank you very much !.

    You didn't mention your JDev version.
    Here is a solution for older JDevs: https://blogs.oracle.com/shay/entry/where_did_that_jdeveloper_wind
    For newer ones it would be similar approach of finding and deleting the file from the system directory.

  • How to use/call .class file in jdeveloper

    I have a .class file that is run as part of cron job on the UNIX server. It has three parameters - so the call goes something like this java exampleClass1 param1 param2 param3.
    I need to import it into my Jdeveloper project so it can be called from a web application. Please help.
    I tried importing the directory as a library(was I supposed to jar it first?) and updated classpath to use the directory with this class file too. But in my code...how do I call exampleClass1?

    If the exampleClass1 does have a public method which is called from the main method, when you run it from the command line
    should work like this
    // sample class
    public class ExampleClass1
        // C'tor
        public ExampleClass1 ()
        public void testmethodWith3Params(String aS1, String aS2, String aS3)
            // do the work here
        public static void main(String[] args)
            String p1;
            String p3;
            String p3;
            ExampleClass1 xyz = new ExampleClass1();
            // read the params into p1,p2 and p3
            // omited the code
           // call the worker method
           xyz.testmethodWith3Params(p1,p2,p3);
    // now instead to call the main method you call the workter methos from your web app like
    ExampleClass1 aaa = new ExampleClass1 ();
    aaa.testmethodWith3Params(param1, param2,param3);
    ...If you don't have a method (or don't know it) you can call it via the main method like
    String [] param= {p1,p2,p3};
    ExampleClass1.main(param);Timo

  • Extending the UML class diagrams with JDeveloper Extensions SDK?

    Hello,
    I studied the JDeveloper Extension SDK docs, but couldn't figure out how to write extensions that support UML Diagrams.
    What I would like to do, is to pin a different data model under the class diagram view.
    Well if you can't do that. In the worst case, my extension would register with a regular class diagram and listen to its events and and refuse particular changes. It would also create or use an empty class diagram and fill in the classes and associations in it. (this is less clean but I could live with it).
    Thanks in advance for all your suggestions.
    Slawek

    By definition you can change classes through the model so I guess the problem here is that the model cannot apply updates to something that it is pointing to the the compiled version of.

  • An Immediate Window in JDeveloper

    Dear All,
    I'd like to mention that I came from using Microsoft Tools and Microsoft Products has some sort of Immediate Window
    where you can type something and see the result during debugging. Instead of coding it and rerunning the code, you can
    use of this immediate window.
    Does JDev has this feature also. This will surely help in debugging since I often find myself using java at the binding layer.
    Thanks

    Run in debug mode if you have modified any class file just right-click and click "make" then refresh your page. You will no need to re-run.

  • Problem with BundleUtils class in Oracle JDeveloper 11g Cookbook

    Hi All,
    While practising Using a custom exception class, in the first chapter of Oracle Jdeveloper 11g cookbook, author states:
    Note that in the Using a generic backing bean actions framework recipe
    in this chapter, we refactored the code in getMessage() to a reusable
    BundleUtils.loadMessage() method. Consequently, we changed the
    ExtJboException getMessage() in that recipe to the following:
    +public String getMessage() {+
    return BundleUtils.loadMessage(this.getErrorCode(),
    this.getErrorParameters());
    +}+
    Whereas no details of BundleUtils class is given in Using a generic backing bean actions framework recipe, which is giving compilation errors for CommonActions class.
    Any help will be greatly appreciated.
    Thanks in advance
    Best Regards
    Bilal

    Bilal,
    you are missing some points here. This is the jdev and adf forum. We don't have access to the code you mention. So we can't help you as long as you don't post the code here (which I doubt you are allowed to).
    Next, if you read https://forums.oracle.com/forums/ann.jspa?annID=56 you should have noticed that without giving at least your jdev version, help is hart to get.
    As said in the other thread, you should drop Nick a note so he can clarify this issue.
    Timo

  • Creating OO database objects by using class diagrams in JDeveloper

    I am new to use JDeveloper. I create UML class diagrams (using Entity Object) in JDeveloper, which has inheritances and associations, and then choose Create Database Objects... try to create oo database, but it only create some tables in the database, not any object types ... .
    What do I missed? Or I have to create those oo database objects manually?
    Thanks.

    Tony,
    You can use database object types with BC4J, but only to implement BC4J domains (these can map to object types).
    For performance reasons, it is less practical to generate a table of object types for a complete EO. Most users view the BC4J layer as the 'pure' OO model, and map to a relational datamodel for optimal performance.
    Below some steps to create a DB object type for a domain:
    You can create Oracle Object Types in the database by creating a business component domain and then forward generating the database object. Forward generation of object tables from entity objects is not supported. To forward generate an Oracle Object Type from a new domain: In the System Navigator, right click on your business component package and choose Create Domain. When the Domain Wizard opens, review the information on the Welcome page and click Next. Enter a Name and Package for the domain or accept the defaults. Select the checkbox for Domain for an Oracle Object Type. Do not select any items on the Available Types list, as you are creating a new one. Enter the name of your new type in the Selected Type field. Click Next. On the Settings page, click New. Provide a name in the New Domain Attribute box. Select the appropriate Java type a[i]Long postings are being truncated to ~1 kB at this time.

  • Dhcp client option 60 vendor class windows 7 - HOW TO CHANGE?

    Hi,
    I would like to change the vendor class (dhcp option 60) on my Windows 7 box (not server).
    I have a requirement to connect to a dhcp server that requires a unique vendor class that happens to not be "MSFT 5.0".
    Eventually we are going to be running Windows 7 embedded. A solution specific to that platform would also be acceptable.
    How does one change that vendor class without editing hacking a dll in windows?
    Again, this is Windows 7, NOT Windows 7 server.
    And again, this is the VENDOR CLASS, not the class id.
    Please help.
    Thanks

    Hi,
    Use this following command:
    ipconfig /setclassid
    To set DHCP class ID information at a client computer
    http://technet.microsoft.com/en-us/library/cc783756(v=ws.10).aspx
    Alex Zhao
    TechNet Community Support

  • "Windowing" with JDeveloper 11

    Hi,
    As a new JDeveloper user I would like to know if it is possible with the upcoming new version to easily create a "windowing" system. I mean having a component like a PanelWindow and allowing a user to customize its page layout with drag`n`drop functionality on the PanelWindow. This is similar to google`s personalized home or meebo websites. If it is already possible, could someone give me a hint about how to do this ?
    Thank you very much.
    Jean-Philippe
    P.S.: The documentation is incomplete as I am wrinting this message and I am very enthusiast about reading it ;)

    Hi,
    this will be possible in the combination of ADF Faces and Webcenter. ADF Faces provides windowing support, but customization is through MDS and Webcenter
    Frank

  • Creating another class window within one class

    Ok I have a main window class, at some point if you click some button I want it to make the first window invisible and have this other, second class, appear, and further on, for both to talk to eachother. These are applets, and I have tried having one applet launch using applet.init() and hoping it would launch but it doesn't work that easy.

    so it has to create a new window within the first class? I cannot use two classes? here:
       import java.awt.*;
       import java.awt.event.*;
       import javax.swing.*;
       import javax.swing.JOptionPane;
        public class Darkness extends JApplet implements ItemListener, ActionListener
              private int intBold = Font.BOLD;
              private int intItalic = Font.PLAIN;
          private Color currentColor = Color.blue;
              private Color dateColor = Color.red;
              private Color regColor = Color.black;
              private JComboBox Years;
          private JRadioButton Sword, Bow, Flame, Ice;
          private JButton Walk[] = new JButton[6];
          private int x, y;
            private ButtonGroup Months;
              private int MO;
          private String[] buttonnames = {"Walk", "Town"};
              private String[] section = {"Forest","Mountains"};
              private String SECTION;
    public void init()
                   SECTION = section[0];
                   Image image = getImage(getCodeBase(), "Background.jpg");
                   Container content = new Work(new ImageIcon(image).getImage());
                   setContentPane(content);
                   Years = new JComboBox(section);
                   Years.setMaximumRowCount(3);
                   Years.setSize(80,30);
                   Years.setLocation(260,450);
             Container c = getContentPane();
             c.setLayout(null);
                   c.add(Years);
             Sword = new JRadioButton("Sword");
             Bow = new JRadioButton("Bow");
             Flame = new JRadioButton("Flame");
             Ice = new JRadioButton("Ice");
             Sword.setLocation(50, 400);
             Bow.setLocation(175, 400);
             Flame.setLocation(300, 400);
             Ice.setLocation(425, 400);
                   Sword.setBackground(currentColor);
                   Bow.setBackground(currentColor);
                   Flame.setBackground(currentColor);
                   Ice.setBackground(currentColor);
             Sword.setSize(100,30);
             Flame.setSize(100,30);
             Ice.setSize(100,30);
             Bow.setSize(100,30);
             Sword.addItemListener(this);
             Flame.addItemListener(this);
             Ice.addItemListener(this);
             Bow.addItemListener(this);
             c.add(Sword);
             c.add(Ice);
             c.add(Flame);
             c.add(Bow);
             Months = new ButtonGroup();
             Months.add(Sword);
             Months.add(Ice);
             Months.add(Flame);
             Months.add(Bow);
    int b = 200; //for button placement
         for(int i = 0; i < 2; i++)
                        Walk[i] = new JButton(buttonnames);
                        Walk[i].setSize(80, 40);          
                        Walk[i].addActionListener(this);
                        Walk[i].setVisible(true);
                        Walk[i].setLocation(b, 500);
                        c.add(Walk[i]);
                        b = b + 100;
    public void itemStateChanged(ItemEvent e)
    Container d = getContentPane();
    d.setLayout(null);
    int y = 200;
              if(e.getSource() == Years)
         SECTION = section[Years.getSelectedIndex()];
         repaint();
    }//end
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.red);
    g.drawRoundRect(0,0,600,600,10,10);
    g.setColor(Color.red);
                   g.setFont(new Font("Courier", intBold + intItalic, 30));
    g.drawString("Darkness",250,50);
    g.setFont(new Font("Courier", intBold + intItalic, 12));
    g.drawString("Monster", 150,175);
    g.drawString("Monster Health", 250,175);
                   g.drawString("Pick an area", 260,445);
    public void actionPerformed(ActionEvent e)
    int Randomizer;
    java.util.Random r = new java.util.Random();
    Randomizer = r.nextInt(10)+1;
         if(e.getSource() == Walk[0] & SECTION == "Forest")
              JOptionPane.showMessageDialog(null, "" + Randomizer, "Damage!", JOptionPane.INFORMATION_MESSAGE);     
         if(e.getSource() == Walk[1])
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
    //**********************HERE IS WHERE I WANT TO CALL THE OTHER APPLET*************
              JOptionPane.showMessageDialog(null, "Returning to Town", "Info", JOptionPane.INFORMATION_MESSAGE);
    //THE FIRST CLASS SHOULD CALL THIS CLASS::::Completely different file not same .java
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    //********************************************************************************8
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.JOptionPane;
    public class Town extends JApplet implements ActionListener
                   private int intBold = Font.BOLD;
              private int intItalic = Font.PLAIN;
    private JButton Buy[] = new JButton[6];
    private String[] ButtonNames = {"Walk", "Town"};
    public void init()
              Image image = getImage(getCodeBase(), "Town.jpg");
              Container content = new Work(new ImageIcon(image).getImage());
              setContentPane(content);
    Container c = getContentPane();
    c.setLayout(null);
    Buy[0] = new JButton(ButtonNames[0]);
    Buy[0].setSize(80, 40);          
                        Buy[0].addActionListener(this);
                        Buy[0].setLocation(400, 300);
                        c.add(Buy[0]);
         public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.yellow);
    g.drawRoundRect(0,0,600,600,10,10);
    g.setColor(Color.red);
    g.setFont(new Font("Courier", intBold + intItalic, 30));
    g.drawString("Town",110,150);
    g.setFont(new Font("Courier", intBold + intItalic, 12));
    g.drawString("Sunday", 25,175);
    g.drawString("Monday", 100,175);
    g.drawString("Tuesday", 175,175);
    g.drawString("Wednesday", 250,175);
    g.drawString("Thursday", 325,175);
    g.drawString("Friday", 400,175);
    g.drawString("Saturday", 475,175);
                   g.drawString("", 260,445);
    public void actionPerformed(ActionEvent e)
    if(e.getSource() == Buy[0])
    JOptionPane.showMessageDialog(null, "" , "Info", JOptionPane.INFORMATION_MESSAGE);     
              public static int Money()
    int t = 3;
    return t;

  • Finding out what class to trace (JDeveloper 11g)

    When debugging I get a dialog form that says this:
    The debugger has stopped in a class where tracing is disabled, according to the
    tracing opitohns set in the active run configuration (remote debug 1). Because
    tracing is disabled, Step Over is not available
    If you wish to step throug this class, you will need to change the tracing options.
    Do you want to change the tracing options now?
    I click on the yes button (of course).
    But instead of having the tracing fixed automatically or at least being told what package/class I must add tracing to I am just
    shown the Tracing dialog where I can include or exclude classes and packages. . .
    So HOW do I figure out what to include ????

    Thanks for the answer.
    However, I do not know where in the code I am since this dialog appears when I am doing something to the application I am remote debugging.
    I am thus not stepping through the code when this happens but running/watching/working with the application I am debugging and then for some reason - perhaps an exception ? - the debugger starts up showing this dialog.
    Also since it is not my application from the beginning I have very little knowledge of how it is built so it is difficult to guess when this happens.
    Now, the debugger must know where I am and what it is I am supposed to step into so why does it not tell me more explicitly?

Maybe you are looking for