[b]JDev Team: Problem regarding JDeveloper's UIEditor[/b]

Hiii,
     I am using Jdeveloper 903 production release.When I develop a Swing Form using the UIEditor of JDeveloper, the code normally gets added to the jbInit() method of the source file. the code which is getting generated is something like :
public class SwingForm extends JPanel
XYLayout xYLayout1 = new XYLayout();
JCheckBox jCheckBox1 = new JCheckBox();
JTextField jTextField1 = new JTextField();
public SwingForm()
try
jbInit();
catch(Exception e)
e.printStackTrace();
private void jbInit() throws Exception
this.setLayout(xYLayout1);
jCheckBox1.setText("jCheckBox1");
jTextField1.setText("jTextField1");
this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
But for the sake of modularity I want to rearrage the code something like this :
public class SwingForm extends JPanel
XYLayout xYLayout1 = new XYLayout();
JCheckBox jCheckBox1 = new JCheckBox();
JTextField jTextField1 = new JTextField();
public SwingForm()
try
jbInit();
catch(Exception e)
e.printStackTrace();
private void jbInit() throws Exception
this.setLayout(xYLayout1);
setProperties();
this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
private void setProperties()
jCheckBox1.setText("jCheckBox1");
jTextField1.setText("jTextField1");
But if I rearrange the code like this, the properties which I am setting inside the method setProperties() doesn't get reflected on the UIEditor. I want to know, can I set the properties inside a different method or not? If not, is there a workaround for that?
Thanks in advance
Hemant

Hi,
No, you may not set the properties inside of a method other than jbInit. There is no workaround.
JDeveloper is not an interpreted environment. Thus, no runtime state is present during UI editing, meaning that no instance of your class is present upon which to invoke the other method. Similarly, conditional logic can not be executed. The UI Editor explicitly searches for the jbInit method and attempts to use simple reflection, to the best of its ability, to perform property sets on the member objects. Note that the member objects may be instantiated and used with reflection since they are instances of compiled classes, whereas the 'this' object is not yet compiled since you are still editing it

Similar Messages

  • To the JDev Team - Issues with JDeveloper 9.0.2

    Hi,
    We've recently upgraded from RC2 to Oracle9IDS. Although RC2 was a bit buggy, we managed to work around things and hoped that Release 9.0.2 would save the day. Alas, it doesn't seem as if it was meant to be.
    I have a EJB project I've been trying to deploy all day...! I'm wondering why the deployment is so different from RC2? I kept getting errors like "Unknown persistence type" whenever I tried to deploy. I finally created a connection to my original JDeveloper Release Candidate oc4j and was successful in deploying the ejb.jar file.
    Now whenever I try to run the sample client, I get stack overflow errors and errors like the following:
    The compiler has run out of memory. Consider using the "-J-mx<number>" command line option to increase the maximum heap
    size.
    com.evermind.compiler.CompilationException: Syntax error in source
         at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:90)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:19)
         at com.evermind.compiler.Javac.compile(Javac.java:37)
         at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:335)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:256)
         at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:439)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    What on earth does this mean? Is there a setting or something I'm missing? Something I should be doing differently from RC2? Help, someone!
    Thanks in advance :)
    Gillian

    The out-of-memory message is saying that the JVM's maximum heap size for the operation you are performing (EJB compilation in this case) is too small. When starting up the standalone OC4J instance from the command line, try something like this:
    java -Xmx512m -jar oc4j.jar
    That sets the JVM's maximum heap size to 512 megs.

  • Team Development with JDeveloper

    I'd like to know whether JDeveloper is well designed for developing Java applications in a team (at the moment, the team members are working at the same place, but this may change)
    Thanks for your answer!
    Uschi

    But Why can't I check In/Out the file which store in directory named with spaces in WinNT?
    Is there any bug fixes online?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Ushchi,
    JDeveloper has recently started working on more team development features. It can be integrated with a source control system using our custom addins, and our 3.2 release will provide support for the Oracle Repository.
    For more information on the custom addins, see the online walkthrough demos available on the JDeveloper OTN page.<HR></BLOCKQUOTE>
    null

  • JDev web resources besides OTN & JDev team blogs?

    Gang,
    Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
    I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
    It would be nice to know what others have found.
    Cheerio,
    CM.

    Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
    (Apologies but I didn’t have a lot of time to draft this message so please ignore any typos and poor grammar)
    Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. I’m not brilliant but you can call me Mr Average Programmer – if it makes sense I’ll work out how to use it.
    I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
    And the general consensus is that the JDeveloper documentation is of poor quality.
    Now I’d like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug I’ve recently raised, see TAR 4212035.995 bug 4058863. I’ve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
    This bug, as you’d appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for “productivity” with choice.
    As another example, do a search in JDeveloper for “uixState”. Most UIX LOVs are useless without it in the partialtargets element….. but it’s another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If I’m not mistaken (I might be, I’m still learning my way around Java), “string” is not a valid Java type…. isn’t it “String”? See my confusion, and the documentation doesn’t say much at all. Does this mean if I return a “Number” I should use “number”.
    Would you like to get away from UIX documentation errors? Well try bringing up the help for the “Pooling and Scalability” tab, under the Configurations sub-menu option for an Application Module (the help page is entitled “Configuration Manager – Pooling and Scalability”). See all those “text” comments and “to be included in future release” comments. Not much use are they?
    Moving on to your question about “how-to”s we’d like to see is a relevant one. I can only talk from my personal experience, but what I’d like to see relevant to my current project is (or would have been useful in the past):
    1)     UIX lov – returning multiple fields.
    2)     UIX lov – using lovUpdate event with multiple LOVs on the screen.
    3)     UIX lov – a complete example that allows the user to “type” in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.     
    4)     UIX trees – proper discussion on setting up hierarchical VOs and associations.
    5)     UIX trees – example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
    6)     UIX hgrids – example derived from database, where the user can insert/delete values through to the database.
    You’ll notice I’m focusing on the UIX technology. Simply put it’s what we’re using at my current site.
    2 other issues I’d like to point out too though. Notice the focus on LOVs? Well I’m an ex-Forms programmer who knows the power of the Forms LOV control. I’ve been confused, annoyed then resigned to the fact that you’ve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue “this is JDeveloper Chris, not Oracle Forms”. You’re right of course, and I can accept that I have to learn the JDev way of doing things. But, and “big” but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
    So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because we’re learning your tool, we’re not experts in JDeveloper, and we can’t read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
    To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
    The 2nd point I’d like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a ‘how-to’ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
    I can hear you asking “what? You want us to do everything for you!?” No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the “Building Oracle ADF Applications: A Comprehensive Workshop” tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I don’t think I’d be writing this post, the JDeveloper team wouldn’t be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
    Hear me out on my next comment – I’m not Oracle bashing! Just making a point.
    With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just can’t see it happening. The basic problem is you’re “Oracle Corporation” (aka the Other Microsoft). You’re not an Open Source **community** group. So people don’t have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They don’t get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists – for the benefit of all – communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracle’s own staff, are being paid far too much money working with your tools to waste time working on blogs. I’d love to write one, but time evades me and I’d rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
    This puts you, the JDeveloper team in an interesting position. I know you’re really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) – I haven’t seen the other IDEs provide such functionality yet and I think you’ve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I don’t think you’ll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
    Well I hope’s it’s obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure it’s up to date. Make sure it’s complete. Review it all each time. Make plans for how it could be improved and expanded.... don’t just focus on the tool.
    I think I can hear you screaming “but we do you bl**dy idi*t!” But I’ll answer in turn.... the perception is you don’t, and the evidence in front of me shows you haven’t..... so my conclusion is I think valid.
    Also let me place a warning that the risk is if you don’t provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool – in particular there frustration with the poor documentation. If they’re making such decisions, I bet others are too.
    With all the above in mind please note my goal of this whole post, and I know I’ve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
    Gee, I should have started a blog and posted this entry I think.
    I’ll finish this post by saying that I’m thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
    Regards,
    CM.
    PS. If you’d like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
    Also please note the “standard disclaimer”, that none of the above is my employer’s or clients’ opinions; it is all totally of my own opinion.

  • Team working in JDeveloper 10g

    All,
    I wondered if any of you had any thoughts or suggestions on team working in JDeveloper?
    I've just completed my first JDeveloper project and had the benefit of being the sole developer. We're now looking at doing some more projects with JDeveloper and could do with some pointers regarding how to set up the structure of an application so that multiple developers can work on it. We use Serena ChangeManager for version control, so any suggestions that are compatible with this would be especially welcome!
    Thanks!
    (p.s. I'd also prefer that you stick to the "current" production release of JDeveloper - there seems to be a tendency in here for people to recommend the latest, greatest version (i.e. 11g), in spite of it only being a technology preview. I wouldn't ride in a pre-production airliner, so why should I do real, production work in an unfinished IDE?)

    Cliff,
    I have a few to start the discussion going.
    1). Use your version control system. Even if there is no JDev plugin, use it! (this is a no-brainer, of course).
    2). Put the JDeveloper artifacts in version control too. By this, I mean the jpr and jws files.
    3). Ensure everyone uses the same coding style preferences, otherwise you can get lots of "bouncing checkins" because one guy likes 3 spaces and some gal likes 4 for indents
    4). Be aware of potential issues when checking in Business Components to source control. For example, if you check in the xml file associated with an AM, but not the java files, you're in for some fun!
    5). Especially early in the development cycle, if you are using ADF Business Components, the Application Module can become a point of contention among developers. You may want to think about having one person control them - or if not - be sure you have good lines of team communication when they are being changed. It's not the easiest thing to do to deal with merging AM configuration files by hand.
    These are some of the ones that jump to mind.
    John

  • Need Help from JDev Team

    Hi,
    I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
    I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
    ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
    There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
    All of our systems have been imaged the exact same way.
    What could the problem be...
    I appreciate your help.... thanks.

    Hi Jolene,
    I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
    It's also worth making sure your OS is patched up to the latest service pack.
    Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
    About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
    Thanks,
    Brian
    JDeveloper Team

  • Problem with  Jdeveloper Embedded OC4J  XML parsing

    Hi all,
    I am having a problem getting jdeveloper to work well. If I use jdeveloper to build the WAR file for my app and I deploy to Tomcat, the app runs fine with no error.
    However, if I try to run my app within the jdeveloper, I get this error -
    08/06/10 19:11:10 com.ibatis.dao.client.DaoException: Error while configuring DaoManager. Cause: java.lang.RuntimeException: XML Parser Error. Cause: oracle.xml.parser.v2.XMLDOMException: invalid character [ in name
    Caused by: java.lang.RuntimeException: XML Parser Error. Cause: oracle.xml.parser.v2.XMLDOMException: invalid character [ in name
    08/06/10 19:11:10 at com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.buildDaoManager(XmlDaoManagerBuilder.java:112)
    08/06/10 19:11:10 at com.ibatis.dao.client.DaoManagerBuilder.buildDaoManager(DaoManagerBuilder.java:47)
    I have tried to turn off XML parsing within Jdeveloper but no luck. I don't understand why jdeveloper will be trying to implicitly parse the XML doc, and wont even do it well.
    Is there a way I can turn off Embedded OC4J XML parsing ? and let it just use the parser in the application ? I mean Tomcat works fine with this application.
    Please help !

    I think maybe you use wrong adf lib when deploying your project to the OC4J.
    You can update your oc4j in the jdev.[JDEV->Tools->ADF Runtime Installer-> Standalone OC4J].
    Good luck
    Hart

  • JDev Team - how to add a Data Aware Control to grid control

    The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
    1. Navigated events do not fire when focus is moved in or out of the cell and
    2. When focus moves to another cell in the same column, the cell losing focus is blanked.
    How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
    The code I am using
    1. declares combobox controls to be used with grid as member variables of my frame class
    ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
    ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
    ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
    ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
    2. sets up the combo in the jbInit method of the frame class :
    // for gridControlMapRuleSrcCols column SystemName
    comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
    3. In the frame constructor calls a method to add combos to the grid
    addMapSrcColGridCombos();
    which is defined as
    private void addMapSrcColGridCombos() {
    // add combos to gridControlMapRuleSrcCols grid
    JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
    addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
    addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
    addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
    addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
    4. It makes use of the following method:
    private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
    TableColumn col = table.getColumn(colName);
    col.setCellEditor( new DefaultCellEditor( combo ) );
    null

    Given the usual deafening silence from the JDev team, I'll post my resolution of the problem.
    I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
    1. add a Navigated listener to the GridControl
    2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
    3. use it to create a custom CellEditor for the target column.
    (I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
    This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
    Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
    I attach some code snippets to illustrate the solution:
    1. declare member variables
    // declarations for Custom Grid Editors
    NavigationManager navMgr = NavigationManager.getNavigationManager();
    static String SYS_NAME_COL_NAME = "SystemName";
    static String SYS_VER_COL_NAME = "SystemVersion";
    static String TAB_NAME_COL_NAME = "TableName";
    static String COL_NAME_COL_NAME = "ColumnName";
    RowSetInfo rowSetSystemCombo = new RowSetInfo();
    AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
    ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
    static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
    static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
    static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
    static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
    static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
    2. in jbInit() set up the combo rowsets (use Design mode)
    SystemNamerowSetSystemCombo.setName("SystemName");
    rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
    SystemNamerowSetSystemCombo} );
    rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
    "SystemComboView",
    rowSetSystemCombo.setSession(sessionMapTool);
    rowSetSystemCombo.setName("rowSetSystemCombo");
    SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
    rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
    SystemVersionrowSetMapSrcColSysVersionCombo} );
    rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
    "SourceSystemVersionComboView",
    "SYSTEM_VERSION DESC"));
    rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
    rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
    rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
    TableNamerowSetMapSrcColTableCombo.setName("TableName");
    rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
    TableNamerowSetMapSrcColTableCombo} );
    rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
    "SourceTableComboView",
    "TABLE_NAME"));
    rowSetMapSrcColTableCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
    rowSetMapSrcColTableCombo.setSession(sessionMapTool);
    rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
    ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
    rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
    ColumnNamerowSetMapTgtColColumnCombo} );
    rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
    "TargetColumnComboView",
    "column_name"));
    rowSetMapTgtColColumnCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
    rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
    rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
    3. add methods to handle the Navigated events (use Design mode to ensure add listener code
    is generated)
    void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedInColumn");
    show_nav_info();
    String dataItemName = navMgr.getTargetDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
    void addComboEditor
    ( JTable table
    , String colName
    , ScrollableRowsetAccess rs
    , ImmediateAccess ia
    // note must get TableColumn afresh each time because when grid is reset
    // on rollback the Table ColumnModel is rebuilt
    TableColumn tc = table.getColumn(colName);
    debug("add JComboBox as editor");
    Vector v = new Vector();
    try {
    // Retrieve and store values for JComboBox using the InfoBus API.
    boolean moreRows = rs.first();
    while (moreRows) {
    // stores value in vector
    v.addElement(new String(ia.getValueAsString()));
    moreRows = rs.next();
    // make column Cell Editor a JComboBox with retrieved values
    tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
    catch (Exception e0) {
    e0.printStackTrace();
    void show_nav_info() {
    debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
    debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
    void debug(String s)
    System.out.println(s);
    void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedOutColumn");
    show_nav_info();
    String dataItemName = navMgr.getFocusedDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor(table, columnName);
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    void removeComboEditor ( JTable table, String colName ) {
    debug("remove JComboBox as editor");
    TableColumn tc = table.getColumn(colName);
    tc.setCellEditor(null);
    4. Note that when navigated event code is added through the designer, jbInit() is
    amended to add a Navigated Listener to the grid
    gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
    public void navigatedInColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedInColumn(e);
    public void navigatedOutColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedOutColumn(e);
    null

  • REPOST(JDEV TEAM) Kindly respond!!!

    SUBJECT: Strange Behavior in TOMCAT although it runs OK in Jdeveloper.
    This is actually a repost and I am hoping that someone would answer:
    I am encountering some strange behavior when I deploy my application to TOMCAT.
    If I run in JDeveloper (webtogo) everything works fine but the behavior changes completely in TOMCAT.
    Let me try and explain my situation here.
    I have 3 jsps :
    1.iss_listApps.jsp which is used to browse all the available records, allows the user to navigate to a specific record and edit or delete.
    2. app_edit.jsp which is used to edit/delete a specific row passed from iss_listApps.jsp.
    3. app_edit_post.jsp which is used to save the changes.
    Note that I use an anchor ">Edit</a> to pass a row from the browser page to the edit page.
    For your convenience I have listed all the source files below.
    Now here are my problems:
    Problem 1. If I run it in JDeveloper, I am able to browse the records and go to a specific record to edit and delete by clicking on the "Edit" anchor provided in the browser page.
    I can also go to the edit page and backout out of it by not saving the changes. In that case I am back in my browser page and I can again click on the "Edit" anchor to go to a specific record.
    However if I am in TOMCAT, I am able to browse and go to a specific record so long as I make changes to it and save it. If for any reason, I do not save a record and I go back to my browser
    page then any subsequent calls to to edit a specific record goes to the same OLD RECORD that I did not save.
    I fail to understand why? Maybe the "webtogo" server automatically refreshes when I click on the "back tab". If so, how do I automatically refresh a jsp page when I click on the "back tab" in TOMCAT.
    I would sincerely appreciate any help on this.
    Problem 2. I have an include jsp tag in my browser page. defined as
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>.
    This section of the code is currently commented out because if I uncomment it then it runs ok in JDeveloper but in Tomcat it causes the browser page to always navigate to the first record if I want to edit a specific record.
    I would sincerely appreciate any answer on this.
    Here are my source files:
    1. iss_ListApps.jsp (browser page). Please see how the anchor is formed. It causes no problems
    in JDeveloper.
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <head>
    </head>
    <body>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" username="issue" password="issue"/>
    <jbo:RollBack appid="NewBC4J.NewBC4JModule" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
    <jbo:RefreshDataSource datasource="app_vo" />
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <%--
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include> --%>
    <form name="list" target="body" action="app_edit.jsp" method="post">
    <tr><th colspan="4">List of Valid Applications</th></tr>
    <tr>
    <th> </th>
    <th align="left"><u>Code</u></th>
    <th align="left"><u>Name</u></th>
    <th align="left"><u>Description</u></th>
    </tr>
    <tr>
    <jbo:RowsetIterate datasource="app_vo">
    <td>
    <a href="app_edit.jsp?RowKeyValue=<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>">Edit</a>
    </td>
    <td>
    <jbo:ShowValue datasource="app_vo" dataitem="Code" />
    </td>
    <td>
    <jbo:ShowValue dat asource="app_vo" dataitem="Name" />
    </td>
    <td>
    <jbo:ShowValue datasource="app_vo" dataitem="AppDesc" />
    </td>
    </tr>
    </jbo:RowsetIterate>
    </form>
    </table>
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <form NAME="AddForm" action="app_add.jsp">
    <td>
    <input type = "submit" name="submit" value="Add" align="center" >
    </td>
    </form>
    </tr>
    </table>
    </body>
    <jbo:ReleasePageResources releasemode="Stateful" appid="NewBC4J.NewBC4JModule" />
    </html>
    2. Second Source File: app_edit.jsp (Allows editing of a record)
    <%@ page contentType="text/html;charset=WINDOWS-1252"%>
    <HTML>
    <base target="contentsframe">
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1252">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" />
    <jbo:Row id="myrow" datasource="app_vo" rowkeyparam="RowKeyValue" action="Find">
    <jbo:SetAttribute dataitem="*"/>
    </jbo:Row>
    <table width="100%" bgcolor="skyblue" border="0" align="center">
    <tr>
    <td>
    <table width="100%" bgcolor="tan" border="0" align="center" cellpadding="3" cellspacing="0">
    <form NAME="iForm" action="app_edit_post.jsp">
    <tr>
    <th colspan="2">
    "Edit/Delete Applications"
    </th>
    </tr>
    <jsp:include page="Message.jsp" flush="true">
    <jsp:param name="colspan" value="2"/>
    </jsp:include>
    <tr>
    <td align="right"><b><font color="red"> Name:</font></b></td>
    <td> <jbo:InputText datasource="app_vo" dataitem="Name" cols="50" />
    </td>
    </tr>
    <tr>
    <td align="Right"><b><font color="red"> Description: </font></b></td>
    <td> <jbo:InputTextArea datasource="app_vo" dataitem="AppDesc" cols="50" rows="5" />
    </td>
    </tr>
    </table>
    <!-- Create a table for the save and Delete Buttons -->
    <table width="100%" bgcolor="skyblue" align="center" cellpadding="10" cellspacing="0" >
    <tr>
    <input name="RowKeyValue" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Save">
    </td>
    </form>
    <form NAME="DelForm" action="app_del_post.jsp">
    <input name="RowKeyVal" type="hidden" value="<jbo:ShowValue datasource="app_vo" dataitem="RowKey"/>" />
    <td>
    <input type = "submit" name="submit" value="Delete">
    </td>
    </form>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateful" />
    3. Third source file app_edit_post.jsp (ALlows saving the changes made to a specific record)
    <%@ page contentType="text/html;charset=ISO-8859-1"%>
    <HTML>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="NewBC4J.NewBC4JModule" configname="NewBC4J.NewBC4JModule.NewBC4JModuleLocal" />
    <jbo:DataSource id="app_vo" appid="NewBC4J.NewBC4JModule" viewobject="ApplicationsView" ></jbo:DataSource>
    <%
    try
    %>
    <jbo:Row id="row3" datasource="app_vo" rowkeyparam="RowKeyValue" action="Update" >
    <jbo:SetAttribute dataitem="*" />
    </jbo:Row>
    <jbo:Commit appid="NewBC4J.NewBC4JModule" />
    <p><font face="Arial, Helvetica, sans-serif"><b><font color="006699">Application Successfully Updated</b></font></font> </p&g t;
    <%
    catch(Exception exc)
    out.println("<pre>");
    exc.printStackTrace(new java.io.PrintWriter(out));
    out.println("</pre>");
    %>
    <br>
    <br>
    <form action="app_ListApps.jsp" method="post"><input type="submit" value="Click to Continue"></form
    <jbo:ReleasePageResources releasemode="Stateful" />
    </BODY>
    </HTML>
    null

    I am using Internet Explorer 5.5.
    When I run the application using JDeveloper/Tomcat, it uses the same browser ie IE 5.5.
    I am not sure what you mean by "cache set" in the browser. Where do you find that information for a browser. I looked in "internet options","page setup" etc but couldn't find anything which talks about "cache set".
    Thanks in Advance!
    Regards
    Ifti

  • To JDev Team : SQL generated, Struts, BC4J Admin, ...

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

    Hi,
    I've followed the Tutorial 'Generating a Struts-based JSP Application for an
    Application Module', where I'm working with only one table.
    When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
    Every time I click on 'Browse', I always have this error :
    Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
    SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
    FROM timesheet Timesheet) ESTCOUNT
    My config are :
    * Win2K
    * JAVA_HOME set to j2sdk1.4.1_01
    * mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
    * I use ultraDevHack=true as parameter within the URL
    Even with 'ultraDevHack=true' parameter, the subselect still not working.
    I've seen in the forum that JDev Team have tried with that parameter, and it worked,
    but it didn't mention with which version of mySQL and which JDBC driver.
    I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
    Anybody know how ?
    The View Object Wizard didn't help me at all for the above SQL.
    In fact I would like to fully controled, modified, or cuztomised all SQL generated.
    Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
    When I click on 'BC4J Admin', I have this :
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
    error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _wm;
    ^
    2 errors
    Why is that ?
    Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
    Any of you have the same problem ?
    Is it possible to put some criterias within the Search, i.e. Sort by Date ?
    Any help would be appreciated.

  • Jdev basic problems!

    hello,
    new in Jdev and java - France
    Jdeveloper 9i - version 9.0.4.0 (build 1407)
    same demand as number 318074
    1) In a Panelxxxx.java for a form created automatically via the Swing/ Jclient for BC4J - Form, I have inserted a Jbutton to create a new row (instead of the + JUNavigationBar).
    //Positionne le panel en Insert Mode
    RowIterator iter = null;
    iter = navBar.getModel().getNavigatableRowIterator();
    Row row = iter.createRow();
    iter.insertRow(row);
    all the fields have a "document - Jclient Attribute binding"
    then i set some Jtextfields automatically, exemple :
    mNivUrg.setText(result1);
    or setting some others in the EOImpl.java
    it works but when I entered a value in any field, many values initialized (not all...) disappeared (are reset to blank).
    if I entered the value again manually, when I commit, it seems that the EO Attribute are not informed...
    I have to pass on the jtextfield and press return key
    What do I do?
    I have seen in the forum that maybe I have to call textfieldbinding.setDataValueAt(text,0)...??? but what means textfieldbinding? if it is the solution.
    2) I have a big problem with the control hints for the EO (and the view linked).
    the first to attributes are:
    NoTicket - type number
    Horodate - type date
    in the control hints when i indicate number and a format for the first, the control hints for the second propose me a number-currency type (it must be simple date).
    when i choose simple date for the second, it re-initialize the first attribute to format type in control hints at simple date...???
    do you have heard of this bug. strange.
    so when I commit, it tells me that the field horadate for exemple is not in the good format!
    (oracle.jbo.JboException) JBO-29000: Cannot format given Object as a Date
    3) when i am positioned on a row in the form, it seems that I can't retrieve the values by a jtextfield.getText() - (Panelxxxx.java) .how can I retrieve the values of the current row?
    could you help me?
    thanks

    thanks for your answer frank.
    1) ok to initialize values in the Impl.java class but I can initialize some values only after a click on a jbutton in the panel - sample:
    jButton1.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    jButton1_actionPerformed(e);
    private void jButton1_actionPerformed(ActionEvent e)
    int creat=1;
    methode_creation(creat);
    private void methode_creation(int creat)
    //System.out.println("entrée dans methode_creation : " + creat);
    switch(creat)
    case 1 : mDescrPb.setText("Problème imprimante");
    break;
    case 2 : mDescrPb.setText("Problème bureautique");
    break;
    case 3 : mDescrPb.setText("Système bloqué");
    break;
    case 4 : mDescrPb.setText("Problème Formation utilisateur");
    break;
    case 5 : mDescrPb.setText("Problème utilisateur récurrent");
    break;
    default : break;
    how to do this in the Impl class? when I'm on the create method, the button is not yet clicked...
    Is the setText the reason why the jtextfield are reset to blank when entered ou modify new values?
    2) ok I have resolved the problem with java format.
    3)ok it works. My problem is this one : when I click on the previous or next button bar, the row (and the attributes that correspond) is well displayed on the form (update mode). I have some fields that are not linked with the view object and I have do do some treatment (method) to display and populate them. With which event(s) can I call the methods in the panel after the values linked are displayed automatically by jdev? how can I hold the hand on the program?
    thanks.

  • Jdev Team - Frustrated with Simple UIX-XML test case

    Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
    Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
    Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
    What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
    TIA,
    Ed.
    PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)

    Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
    Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
    JAVA_HOME = d:\java\j2sdk
    JDK_HOME = d:\java\j2sdk
    J2EE_HOME = d:\java\j2sdkee
    JDEV_HOME = d:\oracle\9iDS\jdev
    Are any of these redundant or are they clobbering something for UIX-XML?
    TIA,
    Ed.

  • To thank from JDev team.

    Thanks all JDev team, which improved
    findDialog to accept Date conditions in 3.2.
    (It was not acceptable in 3.1)
    I ever trust and appreciate and your effort.
    Ali

    Make a connection named "Oracle" in JDeveloper and when you deploy "jdbc/OracleDS" will be there. We make 1 DS per each JDeveloper connection defined.
    The formula is "jdbc/" + ConnectionName + "DS"
    (same applies to hrDS)
    Hope this helps,
    Rob

  • To JDev-Team: New Release 9.03

    Hi JDev-Team,
    since the current release 9.02 is so buggy ...
    when will there be a new (and better) release 9.03 ?
    Thanks
    Volker

    Thanks for the interest. We are still working on the 9.0.3 release, so I don't have a firm date to give you on it yet. As soon as we know something, I'll be sure to post it here on the forums, and probably on the OTN JDeveloper page.
    Thanks again,
    Rob

  • Wierd problem regarding JInternalFrames and OUTLINE_DRAG_MODE

    Hi there,
    I'm currently experiencing a strange problem regarding the use of a JDesktopPane and JInternalFrames.
    Code may look as this, its a random Example as I encounter the same results no matter how I construct the Frame and so on:
    public class Example extends JFrame{
        public Example() {
            this.setTitle("Example");
            this.setPreferredSize(new Dimension(800,800));
            this.setLocationRelativeTo(null);
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel contentPane = (JPanel) this.getContentPane();
            contentPane.setLayout(new BorderLayout());
            JDesktopPane dp = new JDesktopPane();
            dp.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
            contentPane.add(dp, BorderLayout.CENTER);
            this.setVisible(true);
            JInternalFrame f = new JInternalFrame("not so cool", true);
            f.setPreferredSize(new Dimension(400,400));
            f.pack();
            dp.add(f);
            f.setVisible(true);
        public static void main(String args[]){
            Example ex = new Example();
    }So, I'm currently using Netbeans and when I'm running any application/project with those settings from inside the IDE
    theres absolutley no problem. As soon as I'm running the Jar file, the drawing of the "outlines" while resizing the InternalFrame
    is kinda laggy and choppy as hell. I spent 2 hours of googling now and I still got no idea why thats the case, so I hope anyone
    here can enlighten me.
    The Java version installed is 1.6.0_10
    regards, me

    AndrewThompson64 wrote:
    (shrugs) Maybe the IDE is using -Dsun.java2d.d3d=false? In any case, very few people around here provide support* for IDEs.
    * Read that as 'speculate on why an IDE does it different - why it works in an IDE'Sir, seems like you got the point, I wasnt familiar with those command line options for the VM before, regarding Graphics options.
    Working fine as soon as I disable D3D. Should've come to that myself but oh well -.-.
    Thanks guys!

Maybe you are looking for

  • Please help, few questions on JDI

    Hi,   I am quite new to JDI and have the following questions which might be silly to you..but these helps me in better understanding of JDI. 1. Can a track has Multiple SC's? 2. say if i have a clustered environoment, since we are able to define only

  • RFC  Scenarios Debugging

    Hi,   I want to know the procedure for debug the RFC scenarios both Inbound and Outbound RFC's  debugging.. soppose from a file to RFC  and RFC to File means.. how can we debug the both scenarios... is there any debugging Guide is availabale for  all

  • Flash shows as being installed but is not (according to Adobe)

    I want to view content using Flash. After manual install of Flash and also trying to install directly - nothing works. The Mozilla site indicates I should get a yellow bar asking to install but this does not appear. The plug Ins page shows I have no

  • Gui for "internet connect"

    anyone know if/were i could find a more in depth gui to replace/overlay mac's "internet connection". my complaints: stumblers can tell me a lot whilst the "internet connection" is fairly basic and uninformative. it often shows that i am connected to

  • Windows PE ignoring Bootstrap.ini

    I have 3 Linked Deployment  share. All was good, and worked perfectly. I tried to add  fourth share. But something went wrong.  First of all  I updated my MDT to 6.2.5019.0 and install ADB 8.1 update Then I edited my bootstrap.ini [Settings] Priority