JTreeTable and LookandFeel

Hi, All
Currently I have some troubles with subj.The main problem -- painting time of the tree/table cells.Best perfomance in "standard" java L&F,after Win L&F and at least Motif. I'm not sure but think that is trouble of L&F.I amcorrect?
and one more.May be somebody know examples of using JTreeTable classes.
Thank to all.

I have figured out why JTreeTable is not working with Motif L&F.
The row hieght of the JTable has to be adjusted for Motif. You may use
the following code in the JTreeTable contructor.
// And update the height of the table row to match that of the tree.
int rowHeight = UIManager.getInt("Tree.rowHeight");
if (rowHeight > 0) {
setRowHeight(rowHeight);
} else {
if (tree.getRowHeight() < 1) {
// Metal looks better like this.
setRowHeight(20);

Similar Messages

  • Swing and LookAndFeel question

    To all,
    I am using Windows XP and would like to create an application to have a Motiff LookAndFeel.
    I've used this code to retrieve the possible LookAndFeel [] :
    -- mLNF = UIManager.getAuxiliaryLookAndFeels();
    but it just return null.....
    I've also tried to change the LookAndFeel (according to the tutorial under Java Sun)
    -- UIManager.setLookAndFeel("com.sun.java.swing.plaf.gtk.GTKLookAndFeel");
    but a NoSuchClassDefException pop up.....
    I think maybe, I just got the WinXP / Windows LookAndFeel in the SDK, so how can I get the other LookAndFeel classes or resources ???
    Thanks!
    From Jason (Kusanagihk)

    I'm having the same problem jdk 1.5/netbeans4.0 4 months later. Anyone going to answer this???

  • JDK 7 and lookandfeel?

    So I can't seem to get lookandfeel to work properly after I installed the latest JDK. My windows look like this
    http://gyazo.com/f013c8609dd5e5b9f86e4cb1ff3a3273
    As you can see the frame window is not the correct theme, but the inside is.
    Edited by: 959936 on Sep 18, 2012 1:40 PM

    It looks okay to me.
    (However you seem to have some idea about what's "correct" and what isn't. Perhaps it still hasn't occurred to you that people reading this forum aren't mind-readers.)

  • JTableHeader and LookAndFeel problem

    need help in solving the following problems
    1. i have a JTable that i want to display information in the table header from a JTextField am using to input data.please how do i handle it.
    inputfield = new JTextField(20);
    tablemodel = new DefaultTable();
    tablemodel.addColumn("Number");
    tablemodel.addColumn("Food Item");
    tablemodel.addColumn("Quantity");
    tablemodel.addColumn("Price");
    tablemodel.addColumn("Description");
    table = new JTable(tablemodel);
    TableColumn column = null;
    for (int i = 0; i < 5; i++) {
    column = table.getColumnModel().getColumn(i);
    if(i==0){
    column.setPreferredWidth(65);
    } else if(i==1){
    column.setPreferredWidth(100);
    } else if(i==2){
    column.setPreferredWidth(65);
    } else if(i==3){
    column.setPreferredWidth(65);
    } else{
    column.setPreferredWidth(100);
    2.need help in the Look and Feel of my JFrame have the look of a glass.please somebody tell to do this.
    thanks in advance.

    You are having five columns,
    which header should get a input from JTextfield,
    1. all the Five? or else some specific header?
    2. Is the table having the header when intially its load?
    3. when it should happen, like the user enter the heading in the text field and pressing enter button?
    4. When the user enter the 6th text and press enter key, what supposed to be happen?
    So pls describe what you want properly.
    For your second question u can use GlassPane

  • How to enable programmatic tree path selection in JTreeTable?

    Post about usage of JTreeTable provided by Philip Milne.
    A problem I met is that one can not set a tree path selected programmatically. It seems that the installing of ListToTreeSelectionModelWrapper disables this action or the selection is done at first but later it is unselected again. It is very hard for me to understand the source code of JTreeTable and it is impossible for me to alter the ListToTreeSelectionModelWrapper to meet my need. Perhaps someone else there has also confronted such problem before. You would be very nice to inform me some tips.
    Thanks!

    Hi,
    You can enable the self-site creation using PowerShell by using the following command.
    $webApplication = Get-SPWebApplication <<http://WebApplication>>
    $webApplication.SelfServiceSiteCreationEnabled =$True
    $webApplication.Update()
    Please mark it answered, if your problem resolved.

  • Putting JCheckBox into JTreeTable

    I'm trying to place a JCheckBox into a JTreeTable and finding it to be far more difficult than I imagined. I want the first column in my JTreeTable to be uneditable while the next two columns have check boxes. If I use the JTreeTable III version, I can add a Boolean.class column which has checkboxes, but if I turn off the isCellEditable for the first column, the tree will not expand. If I use JTreeTable II version, I can add in a Boolean class for the checkbox field, but I can't make it editable, so the checkbox does not respond to mouse clicks.
    Any help would be appreciated. Thanks,
    Dan

    Thomas, are these the JTreeTables you are using or is there another version?no, i don't use those. i use some stuff which somebody published on http://www2.gol.com/users/tame/swing/examples. unfortunately that site doesn't exist anymore.
    but in general, it is not really difficult:
    1) put your tree in the row header view
    2) add a tree expansion listener
    3) upon treeExpanded() do a insertRow() on your table
    4) upon treeCollapse() do a deleteRow() on your table
    they only disadvantage i found is, that you can't resize the tree 'column'.
    thomas

  • Editing non-tree cells problem in JTreeTable

    Hello all,
    I've been playing around with the JTreeTable for quite a while and have a fairly good grip on it. However, I've run into a problem that involves the display of cell data in the non-tree cells.
    Assume I have a JTreeTable with one node below the root (and the root node is not displayed). Also assume I've edited some information in one of the other cells in a 5-celled JTreeTable. The JTreeTable behaves normally with regard to editing/setting the values of the table cells.
    Now, with the click of a separate button, I programmatically create a new node in the JTree. I update the JTree model with a call to nodeChanged() and nodeStructureChanged() (or I could call reload() - both seem to work).
    This successfully adds a node, but in the process clears the entire remainder of the table's cell values. If I call fireTableDataChanged(), then the display of the JTree gets all screwed up (basically what happens to the display if you add/remove nodes, but don't update the display in a JTree). Not only that, but the fireTableDataChanged() method still does not redisplay my cell information for the remainder of the table.
    I'm at a loss to figure out what's responsible for this. The tableCellRenderer seems to work just fine until I add node. Even then, the tableCellRenderer for the JTree still works until I call fireTableDataChanged().
    Any ideas?
    Thank you,
    Brion Swanson

    I use a JTreeTable and in looking at my code, I've
    noticed that I make use of treeTable.repaint() fairly
    frequently (as whenever I update my stuff).Did the treeTable.updateUI do funky things to your JTree? It does on mine if I do a programmatic node addition or removal (basically any change to the tree structure will cause treeTable.updateUI() to completely destroy the display of the tree). This is a separate issue, but I thought I'd ask anyway since you seem to have run into at least a few of the same problems I'm experiencing.
    I don't fully understand your problem<snip/>
    do you mean
    it drops all edits you have done?Yes, it drops all the edits except the one currently being "edited" (that is, the selected editable cell will not lose it's value).
    I had a problem about it dropping the edits I had
    done and I resolved them by adding key listeners
    and played with the TableCellEditor.Could you elaborate on what you did to the TableCellEditor and which object you had listening to the keys (the table? or the tree? or something else?).
    You help is greatly appreciated!
    Brion Swanson

  • JTreeTable - cannot expand more than one node programatically..why??

    Hi All,
    I have a JTreeTable and all i want is to expand node1 and then expand node2.I used
    tableModel.getTree().expandRow(0) and the next statement was
    tableModel.getTree().expandRow(1)
    Wiered thing is that only the first statement gets executed.But although the control goes into second statement it does not expand.I have a TreeWillExpandListner so, on tableModel.getTree().expandRow(0) statement the control comes into the TreeWillExpand() method, but on tableModel.getTree().expandRow(1) execution it does not come to the treeWillExpand() method.
    Do you guys have any idea why is this happening..??
    Thanks,
    Ranjitha
    Edited by: Ranjitha_Rao on Jan 31, 2008 9:23 AM
    Edited by: Ranjitha_Rao on Jan 31, 2008 9:24 AM

    This is strange, i just replaced the order so instead of:
    m_tableModel.ExpandRow(0)
    m_tableModel.ExpandRow(1)
    i did
    m_tableModel.ExpandRow(1)
    m_tableModel.ExpandRow(0)
    It works.Strange but its true.It looked like the tree structure change did not read the structure the same if you do it the first way.Well anyway my problem is solved

  • LookAndFeel Swing usage

    Hi,
    I have some graphical errors in my application in which i am using both swing and LookandFeel.
    I have two main window and each of them sets two different LookandFeel (UIManager).
    When one window is opening other's backgrond color is corrupting. And application is locked(dont respond anything sometimes).
    How can i use both at the same time correctly ? Can you help?

    Are you trying to use 2 LookAndFeels at the same time? If you are, then like I said earlier, you cannot do that. Well, you can try, but you may not get the expected behavior (i.e., you'll see "bugs" like what you're seeing). LookAndFeels use a data structure called the UIManager, which contains colors, fonts, etc. for a specific LookAndFeel. If you try to use multiple LaFs at the same time, they'll overwrite each others' UIManager values and mess each other up. This was a Swing design choice and so if you choose to use multiple LaFs at the same time, you're on your own, we can't really help you.
    If I'm misunderstanding you, and you're only using one LookAndFeel, please post an SSCCE that demonstrates your problem.

  • Is it possible to set the root node of JTree by default close???? Pls Help

    Hello frnz,
    I am working on JTreeTable and rt now i am facing a problem , in which i have to keep the root of the JTree by default close,
    So please suggest me to do what for this.

    How about
    JTree.collapseRow(0)

  • Forms 10g Alert button navigation/focus

    Hi,
    I have an alert that pops up on a certain condition that has 3 buttons to choose from. Navigating between buttons using the left and right arrow keys on works between the first 2 buttons only. Focus does not navigate to the 3rd button.
    This did not happen on Forms 6i. Is this normal behavior? Is this a bug in forms 10g? Is there a work around this? Any help will be appreciated.
    Thanks

    Hi,
    Im reactivating this thread because I just discovered this problem.
    You are rigth when you say that keyboard navigation works in lookAndFeel=Generic but not lookAndFeel=Oracle.
    But this not the only problem encountered.
    There is also the default button set in the alert that doesn't work and either in lookAndFeel=Generic and lookAndFeel=Oracle.!
    The focus is always on button one, and that is for me a big problem because it usualy the one we use for 'OK' and others for 'CANCEL'.
    I let you imagine what problems we can have if the user press return and send ok to the application .......
    Is there any patch that correct this behaviour (we are in 9.0.4 patchset 1 at the moment) ?
    Thanks
    Jean-Yves

  • Wrong update of the iconify button

    In my application, I use JInternalFrame and LookAndFeel.
    When an iconifiable JInternalFrame is opened, the iconify button is OK.
    But when I iconify the frame, the button keeps looking like an iconify button (looks like a "_").
    And when I restore the frame, it looks like a restore button (looks like two windows) instead of an iconify button.
    Any clue?

    I noticed this as well as part of an upgrade we are carrying out which involves migrating from 1.2.2 to 1.3.1 code but it only appeared when running under the Websphere Studio JVM (IBM Default). Running the same code under 1.3.1_013 from Sun and the problem vanished.

  • JTable and colors & lookAndFeel

    Hello,
    i'm using my own made CellRenderer in a JTable.
    I gave each cell a colour, but i can't see a rowSelection of a columnSelection in my JTable
    because I used my own CellRenderer and set my own colours.
    Does somebody know how i can see a rowSelection or a columnSelection if use my own
    CellRenderer.
    Maybe a related problem, i'm using a look and feel, but the look and feel doesn't draw the grid lines
    I want to see the lines, could somebody tell me how I can do that please ?
    thanks in advance
    greetz Kristof

    The first problem has been solved, but I have problems with the second problem ...
    I want to see the gridlines of my JTable
    (I can't use table.showGridLines(true), it doesn't listen to me ...)
    please help me
    thx

  • Forms 10g installed and running on Windows Vista

    <font color=0000FF>Update 12-Dec-2008: </font>Oracle has published NOTE 559067.1 -- How to Install Developer Suite 10.1.2.0.2 - hence 10.1.2.3 - on Windows Vista, 24-OCT-2008 with some installation help.
    <font color=0000FF>Update 07-July-2008: </font> Added text at the bottom showing how to find patchsets for Forms 10g.
    <font color=0000FF>Update 29-May-2008: </font> This thread was started in November, 2007.  In January, 2008, Oracle released Patch 3 for Forms 10g, which makes Forms 10g compatible with Windows Vista.  As time permits I'll try to keep the information in this post up to date.   Updated information will be inserted <font color=0000FF>as blue text.
    </font>
    <font color=0000FF>Original message begins here:</font>
    This is a second thread I am posting to outline the steps I have used to install Forms on a Windows Vista Home Basic laptop.   The other thread describes installing Forms 6i:
          Forms 6i installed and running on Windows Vista
    Please read through the initial part of that post for the background.  I realize Oracle has not certified Forms 10g to run on Vista, but the time has come for my associates and I to upgrade our old computers to new desktop/laptop platforms, and I would hate to acquire XP machines and be stuck with them for the next 5 years.  <font color=0000FF>(Note: Since first posting this message, Oracle has certified Forms 10g Patch 3 (version 10.1.2.3.0) to run on Vista)</font>  So after another person informed me that he had Forms installed and running on Vista, I went ahead and bought one.  I found that as long as I set the compatibility mode to run Forms programs as Windows XP (and a few other changes), Forms 6i and 10g run quite satisfactorily.
    <font color=0000FF>Update 29-Jan-2008: </font> Unfortunately, it turns out that the Forms 10g Builder running on Vista <font color=0000FF>had</font> a major flaw:   If you try to develop a form, the Builder will crash if you try to compile a procedure that calls another procedure in the form that has errors.  The problem is reported and described in this thread:  Error compiling a form under Vista
    <font color=0000FF>Update 12-Mar-2008: </font> Installing Patch 3 on Vista does not help with this problem -- the Builder still crashes in the same situation.
    <font color=0000FF>Update 25-July-2008: </font> Applying Patch 7047034 has corrected the problem.   See this link within this thread:   Forms 10g: Installing Patch 7047034 on Windows Vista
    Webutil note:  I am stuck in a Forms 6i client/server world, so all my forms must run in that environment.   Therefore I have not used any Webutil software, and I do not know whether that part will run under Vista.
    Internet Explorer note:  On Windows Vista, IE CANNOT be used to run the Web Forms runtime.  It crashes immediately when you try to run a form.  Instead, I can use either Firefox (Firefox 2, Firefox 3.0 Crashes with Forms 10g) or Netscape, as long as they are set to disable java.  <font color=0000FF>[ Correction:   IE7 on Vista now runs the Forms 10g forms.   You just need to add "?config=jpi" to the browser URL when starting the Web Forms session.   More IE/Vista info: [url=http://forums.oracle.com/forums/thread.jspa?threadID=642973]Vista JInitiator Problem ]</font>
    The Oracle Developer Suite download page:
        http://www.oracle.com/technology/software/products/ids/index.html
    Oracle Developer Suite Installation Guide:
        http://download.oracle.com/docs/cd/B25016_07//doc/dl/core/B16012_04/toc.htm
    The steps below are those I followed to install Forms 10g (version 10.1.2.0.2)
    I.  Preliminary system changes in Windows
    When I started installing, I got the following error message:    Install has encountered an error while
        attempting to verify your virtual memory settings.
        Please verify that the sum of the initial sizes of
        the paging files is at least 256 MB.To fix this:  Go to Control Panel, System and Maintenance, View amount of RAM and processor speed (under "System"),
    Advanced system settings (in left "Tasks" column), Advanced tab, Settings (under "performance"), Advanced tab:
    Virtual Memory shows a "Total paging file size for all drives: 2337MB.
    Click "change", Uncheck "Automatically manage paging file size for all drives"
    Click "custom size:", set Initial size to: 2048, Max to 4096
    Click set button, then OK, get message:The changes you have made require you to restart your computer before
       they can take effect.Restart the computer.
    II.  Installing Forms 10g
    1.  Download two files from Oracle:
        ds_windows_x86_101202_disk1.zip (626,122,752 bytes)
        ds_windows_x86_101202_disk2.zip (236,880,881 bytes)
    2a.  Before extracting, it is a good idea to shut down any virus protection software.  It can sometimes prevent some files from being created.
    2b.  Extract both into the C:\oracle directory, as disk1 and disk2.
    3.  Using Windows Explorer, change the properties of setup.exe in the C:\oracle\disk1 folder.  (In windows explorer, right click, properties, Compatibility tab.)   Change the compatibility to run as Windows XP (Service Pack 2).
    4.  Right click setup.exe and click "Run as administrator"
    5.  Select "Installation type" = Complete (1.11 GB)
    6.  Received this message:Windows Firewall has blocked this program from
    accepting incoming network connections.  If you
    unblock this program, it will be unblocked on all
    public networks that you connect to.
    C:\users\steve\appdata\local\temp\orainstall...
      2007-10-29_11-59-08am\jre\1.4.2\bin\javaw.exeI clicked "Unblock"
    7.  Received this message:  "Provide outgoing mail server information"  I entered the smtp mail server that I use.
    8.  A summary screen displayed showing 274 products under New Installations.
    I clicked the Install button.
    9.   Received this message:  You can find a log of this install session at:
    C:\Program Files\Oracle\Inventory\logs\installActions2007.....log
    10.  The installation completed.  Installed products shows Forms 10.1.2.0.2
    III.  After the install completed
    1.  Create a shortcut to the Forms 10 Builder on the Desktop.
    On the shortcut line, after the .exe, add *userid=userxxx/pwxxx@orcl* so Builder automatically logs into 10g database.  If you do step 4 below (creating an easily-accessible folder to use for your forms) change the "Start in" path on the shortcut so it points to that folder.  Otherwise, Forms Builder will not find referenced objects and PLL libraries when it opens a form.  Also do the same on the Start, All Programs shortcut for the Forms Builder.
    Edit:  After applying Patch 3, the following steps are not necessary.
    Set its compatibility to Windows XP.
    Set checkbox: "Run this program as as an administrator."  (Without this, FormBuilder will NOT open a PLL library.)
    Click the "Show settings for all users" and change values there.
    2.  Copy "Start OC4J Instance" icon to desktop.
    Set its compatibility to Windows XP.
    The first time it runs, I got a Windows popup to unblock program named Java.  I clicked "Unblock".
    3.  tnsnames.ora:
    Rename C:\oracle\DevSuiteHome_1\network\admin\tnsnames.ora
    to:  tnsnames_orig.ora
    If you created a tnsnames.ora file for Forms 6i, just copy it to the path above.  If not, do this:
    Create a new tnsnames.ora file, copying entries old file on my old laptop, which contains all the connections I use.
    Delete the old laptop entry, replace with new entry for the new local ORCL connection on new laptop from tnsnames file renamed from the c:\oracle\... ...\10.2.0\db_1\ path.
    4.  Optional:  Create an easily accessible folder to store fmb files:
    C:\users\steve\.1\fmb10
    You don't really want to keep drilling into C:\oracle\DevSuiteHome_1\forms, and then find your .fmb file among the several dozen oracle-supplied files.
    To create a folder named .1, you have to open a CMD.exe (Windows DOS) window, and type the Make Directory command:
    MD .1
    That will create the folder within the current directory -- mine defaults to C:\users\steve
    Note:  If you also need to use Forms 6i like me, DO NOT EVER open a .fmb file in the Forms 10 Builder from the Forms 6i folder.  If you compile it, or even worse, save the .fmb, Forms 6i *cannot ever* access the file.  Instead, always use the File Manager (Windows Explorer) to copy the fmb from the fmb6 folder into the fmb10 location.
    5.  Change the Forms 10g Default.env file using a text editor.
    This file replaces all the settings originally written to the Windows Registry (GREAT idea, Oracle!  I hate the registry.)  No more Regedit.  The default.env file is located at: (DevSuiteHome_1 path)\forms\server\default.env
    Locate line with:  FORMS_PATH= and add:
        ;C:\users\steve\.1\fmb10
    Add a new line:
    FORMS_MMAP=FALSE
    The above allows compiling an fmx while the form is running.
    Add a new line:
    FORMS_ROWLOCK_OPTIMIZATION=FALSE
    (This fixes Oracle bug number 3949854, which prevents automatic skipping if the same value is typed over another value. TAR 4806199.993 Automatic Skip failure...)  See bug 4068896
    Add a new Line:
    FORMS_RESTRICT_ENTER_QUERY=False
    This allows use of Query-Where window in enter query, after entering a colon in any input field.  Without this, Forms returns FRM-40367: Invalid criteria in field nnn in example record.  Oracle shut it down to prevent "sql injection" attacks.
    6.  Jiniator setup:
    Run file jinit.exe in C:\oracle\DevSuiteHime_1\jinit\jinit.exe
    It installs Jinitiator 1.3.1.22.
    I installed it in C:\oracle\JInitiator 1.3.1.22\
    For Firefox, make sure a copy of file \bin\NPJinit13122.dll resides in   C:\Program Files\Mozilla Firefox\plugins.
    For Netscape, the path is:  C:\Program Files\Netscape\Navigator 9\plugins
    7.   Browser settings
    See the note above about using Firefox 2 and not Firefox 3!
    In Firefox 2 go to:  Tools-> Options-> Content
    Uncheck the "Enable Java" checkbox
    --Firefox terminates if this is not done!
    Note:  After my system automatically installed updates to either java or Firefox, re-check the "Enable Java" setting.  I am suspicious that one of these installs re-enables java in the browser.
    Also note:  some web sites cannot display properly if java is disabled.  Example:  U.S. time website: http://www.time.gov   Use Internet Explorer to view these.
    In Netscape make the same changes as Firefox.  Without disabling java, it also terminates when you try to run a form.
    Creating a url to use in the browser:
    Try this:
        http://127.0.0.1:8889/forms/frmservlet
    If it does not work, change the 8889 port number as follows:
    Open file:  C:\oracle\DevSuiteHome_1\install\portlist.ini
    Note the number in line:
    Oracle Developer Suite HTTP port = 8889
    Use the number as the port number.
    You can also change the 127.0.0.1 to the computer name:
    Control Panel, System and Maintenance, See the name of this computer (under "System").  Mine is "steve-PC"
    So the alternate URL is:     http://steve-PC:8889/forms/frmservlet
    To try out the URL, start the OC4J instance set up above.  Then start either Netscape or Firefox, and enter the URL.  You should get a welcome screen.
    If the above URL works, start up the Forms Builder, and open Edit, Preferences.  On the General tab, uncheck the "Build before running" check box (optional).  On the Runtime tab, set the "Application Server URL to the url above.
    To run a real form, add this to the URL after frmservlet, (with no spaces):
        ?form={formname}&userid={userxxx}/{passwordyyy}@{connect-string}
    but replace the parts in curly braces with the appropriate values.  Example:
        http://127.0.0.1:8889/forms/frmservlet?form=ABC&userid=abc123/zyx@orcl
    Setting up Forms Builder to directly run a form in the browser:
    Run the Forms Builder.  Go to Edit, Preferences, Runtime tab.
    Set the Application Server URL to:
        http://127.0.0.1:8889/forms/frmservlet
    (or use whatever URL string you developed above)
    Set the Web Browser Location to:
        "C:\Program Files\Netscape\Navigator 9\navigator.exe"
    (or an equivalent to run the Firefox browser).
    8.  FORMSWEB.CFG file changes
    The file is located at:
    C:\ORA_DS_101202\DevSuiteHome_1\forms\server\formsweb.cfg
    I changed the following two lines in the file, but these are my personal preferences:
    separateFrame=true
    lookandfeel=Generic
    9.  FMRWEB.RES file changes
    For Oracle help:  Enabling Key Mappings
    The file fmrweb.res defines actions (triggers that run) when a function key is pressed while running Forms.  The one released has unix-style key mapping, but I prefer keys originally mapped for Windows PC Forms users. There is a fmrpcweb.res in the same folder that can be renamed to fmrweb.res.
    In the C:\oracle\DevSuiteHome_1\forms path, I renamed fmrweb.res to fmrweb_orig.res.
    I have a file that I prefer to use, so I put it into the folder as fmrweb.res. The contents are listed below. It is organized so the most important keys are listed alphabetically at the top (URFD column is the sort column), followed by a group of less-important keys.  These are keys that are available to users, but they either would not use, or are disabled within most forms.  The URFD column in the second set starts with a hex A0 character, which is a high-order space, so collates after normal alphabetic characters.  (Note: If you want to copy the text below and use it, the hex A0 character has been changed by the forum software to a space. So you would need to use a text editor with hexadecimal character capabilities to replace the space with the original character. )
    My file has special keys defined for F2 (I use it for a debugging Key-F2 trigger in my forms), and a "Cursor to Home" F12 function. All the rest are pretty much the same as in the released fmrpcweb.res file, only mine are organized alphabetically on the URFD column.
    The Web Forms fmrweb.res file is editable using any programming editor (NOT MS Word!!!). The old Client/Server key mapping file, fmrusw.res, could only be changed using the Oracle Terminal program (and it is a pain to use).
    Here is the main part of my fmrweb.res file:#
    #Jfn :Jmn:  URKS            :Ffn :  URFD
    #    :   : (User-readable   :    : (User-readable
    #    :   :  Key-sequence )  :    :  function description)
    118  : 1 : "Shift F7"       : 74 : "Clear Form"
    121  : 0 : "F10"            : 36 : "Commit"
    117  : 0 : "F6"             : 65 : "Create Record"
    10   : 1 : "Shift Enter"    : 82 : "Cursor to Home" # sdsu uses this
    123  : 0 : "F12"            : 82 : "Cursor to Home" # sdsu uses this
                                        #: --Alt+Home works, but leaves the Action (first
                                        #: --pull-down menu item) highlighted.  Press Esc or
    36   : 8 : "Alt Home, then Alt" : 82 : "Cursor to Home" #-- Alt again to clear highlight.
    117  : 1 : "Shift F6"       : 63 : "Delete Record"
    119  : 0 : "F8"             : 77 : "Execute Query"
    120  : 0 : "F9"             : 29 : "List of Values"
    9    : 0 : "Tab"            : 1  : "Next Field"
    40   : 0 : "Down-Arrow"     : 7  : "Next Record"
    9    : 1 : "Shift Tab"      : 2  : "Previous Field"
    38   : 0 : "Up-Arrow"       : 6  : "Previous Record"
    112  : 0 : "F1"             : 35 : "Show Keys"
    116  : 1 : "Shift F5"       : 69 : " Clear Block"
    116  : 2 : "Ctrl F5"        : 3  : " Clear Field"
    113  : 1 : "Shift F2"       : 80 : " Count Query Hits"
    112  : 1 : "Shift F1"       : 78 : " Display Error"
    114  : 0 : "F3"             : 73 : " Duplicate Item"
    115  : 0 : "F4"             : 64 : " Duplicate Record"
    69   : 2 : "Ctrl E"         : 22 : " Edit Field"
    122  : 0 : "F11"            : 75 : " Enter " # Causes validation, w/o cursor move
    118  : 0 : "F7"             : 76 : " Enter Query"
    81   : 2 : "Ctrl Q"         : 32 : " Exit"
    112  : 2 : "Ctrl F1"        : 30 : " Help"
    34   : 0 : "Page Down"      : 66 : " Next Set of Records"
    119  : 1 : "Shift F8"       : 79 : " Print"
    10   : 0 : "Enter/Return key": 27: " Enter/Next Field"
    33   : 0 : "Page Up"        : 12 : " Scroll Up"
    116  : 0 : "F5"             : 87 : " F5 Key for special uses"
    #121 : 3 : "Shift Ctrl F10" : 82 : " Function 0" #--disabled.  Cursor to home defined above
    112  : 3 : "Shift Ctrl F1"  : 83 : " Function 1"
    113  : 0 : "F2"             : 84 : " Function 2"
    113  : 11: "Ctrl Alt Shift F2":95: " List Tab Pages" #<-REQUIRED, or F2 cant be assigned
    114  : 3 : "Shift Ctrl F3"  : 85 : " Function 3"
    115  : 3 : "Shift Ctrl F4"  : 86 : " Function 4"
    117  : 3 : "Shift Ctrl F6"  : 88 : " Function 6"
    118  : 3 : "Shift Ctrl F7"  : 89 : " Function 7"
    119  : 3 : "Shift Ctrl F8"  : 90 : " Function 8"
    120  : 3 : "Shift Ctrl F9"  : 91 : " Function 9"<B>Finding Forms 10g Patchsets</B>
    Here is how to do the search: Log into metalink ( https://metalink.oracle.com ), then click on the Patches & Updates tab, then Simple Search.
    In "Search by", select Product or Family. Enter "Developer Forms" in the box.
    Then click the Release choices, and select "iAS 10.1.2.3"
    Patch Type should be "Patchset/Minipack"
    Platform or Language should be "Microsoft Windows (32-bit)"
    Click Go, and the Forms 10g patch should show up. As of July, 2008 the only one available is: [url=
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5983622&release=1710123&plat_lang=912P&patch_num_id=943599
    ]5983622
    Edited 2008-12-12 to add a link to Oracle Note 559067.1  and added the fmrweb.res file listing.
    Edited 2008-10-28 to change text format to work better within new forum format
    Edited 2008-7-7 to add patchset search information.
    Edited 2008-4-21 to modify information.
    Edited 2008-3-6 to add information.
    Edited 2008-5-29 to update information.

    I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
    Two points, Steve:
    1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
    2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
    Do you have any idea what to do to solve the problem?
    Regards

  • Problems installing the new 'Look And Feel' done by Francios Degrelle

    I have download the new verison of the new 'Look And Feel' from
    http://sheikyerbouti.developpez.com/forms-pjc-bean/LAF/sources/v133/LAF_133.zip
    1- I defined a new section in formsweb.cfg named summit in the middle tier (AS 10g Rel2):
    [Summit]
    baseHTML=base.htm
    baseHTMLjinitiator=basejpi.htm
    baseHTMLjpi=basejpi.htm
    baseHTMLie=baseie.htm
    HTMLdelimiter=%
    workingDirectory=e:\app\summit
    envFile=default.env
    IE=JInitiator
    escapeparams=true
    form=customers_laf
    debug=no
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term% useSDI=yes
    buffer=no
    debug_messages=no
    array=no
    obr=no
    query_only=no
    quiet=yes
    render=no
    pageTitle=Summit
    serverURL=/forms/lservlet
    codebase=/forms/java
    imageBase=DocumentBase
    width=100%
    height=100%
    separateFrame=false
    splashScreen=no
    lookAndFeel=oracle
    colorScheme=blue
    logo=no
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    serverApp=default
    archive_jini=frmall_jinit.jar
    archive=frmall.jar,laf.jar
    WebUtilArchive=
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
    2- then I put a copy of the file 'forms.css' in the middle tier in the folder :
    apache\apache\htdocs
    so as to be on the path and then modified PM$CSS_FILENAME in all forms to be 'forms.css' instead of 'c:\forms.css' and recompiled.
    3-I put a copy of the file 'laf.jar' in the folder : 'd\Ora_AS\forms\java' in the middle tier and added this path to the classpath environment variable.
    4- I restarted the middle tier and wrote this URL:
    http://test/forms/frmservlet/config=summit
    the customers form opened but with no background images,I added the following to the URL '&form=test_laf_color_scheme.fmx',the form opened with the default color scheme to 'purple',I changed it from a drop down list to orange and all buttons background color degraded to orange.
    My questions:
    1-where are the background images ?
    2- I cannot compile the 'laf.pll' file to 'laf.plx',when I compile I get this error:
    FRm-91507 -internal error
    P.S. I read this thread :
    FRM-91507 when compiling a library with Forms 6i
    and I didn't understand it,where do I change the Forms_Path? in the forms Home release 1 or Forms home release 2?!!!
    3-Is the 'forms.css' file properly located? if not? where do I put it?
    Sorry for the long scenario but I'm really confused?
    Thanks
    Mohammad

    Hello,
    I'm curently out of everything so I cannot answer this one. All I can tell is that images are read from the client machine or jar file. If you want read images from the application server, you need the http:// syntax.
    Francois

Maybe you are looking for

  • Intercompany Stock Transfer with WM

    Hi, We are doing stock transfer between companies. The steps we are following are 1) Purchase order created with order type NB. 2) Outbound delivery create which moved our stock to intrerim Storage type 916 3) Inbound delivery is created to receive m

  • Disappearing files in Captivate 5.5

    Hi, Has anyone else experienced the problem of dissappearing files in Captivate 5.5? What's your workaround? I have lost weeks of created work, before my IT dept contacted Abobe and said it was a known bug! It didn't help that my IT dept were then ad

  • Open HTTP connection failed

    Hi all. The environment is J2SDK4 + Tomcat4.0.4 I tried to implement the WebClient.java in SUN/Marty Hall's book "Core Servlets and JavaServer Pages". Everything compiles okay. All the java and class files are in a package under the /examples folder

  • ่Can I import geeThree transition in Final Cut s, ่Can I import geeThree transition in Final Cut studio?

    can i import geeThree transition in final cut studio

  • Retrieveing a value from a set of instances of same entity.

    Hi, I want to retrieve a value of a particluar attribute from an entity instance among the group of instances of same entity. How this can be done? Consider my rule base as below the person ---> the person's income year (the person's income years) th