Setting Application Defaults by admin

I want to set application defaults for a planning application, such that, when a user logs into the application he sees what I have set as default.
eg. Display Options - Thousands separator :comma
I changed the Applicaiton Settings via Administration and set Thousand Separator:comma. (34,567.00)
But when a new user logs into the application, he does not see the comma. Instead he sees 34567.00.
He then has to go to File->Preferences->Planning and tick the check box 'Use Application Default'.
What purpose does a 'default value' serve if the user has to make this change to see the default?
Or am I doing this wrong?Is there another way such that a user does not have to do anything to see the comma in the values within forms?
Thanks

I tried the following two scenarios:
1. create user from scratch.-testuser
That user is getting the default values as set by admin.
2. For a pre existing user -jsm,taken from the clients active directory,whose id had been provisioned to test the forms,the default settings are not getting applied.
Both users are using the same application and have the same provisioning.
So why is scenario 2 not picking up the correct default settings ?
Could it be due to any of the reasons below?
a. SHe tried setting her own user preferences at some point. Hence she has to manually select the 'use application default' to get the default settings.
b. I changed the application default settings today to 'comma' and hence I have to restart planning services

Similar Messages

  • Apex 4.2 forms conversion error when set application defaults

    when use migration forms conversion and i want to set application defaults return the next error
    Unable to seed values ORA-06550: line 15, column 82: PL/SQL: ORA-00918: column ambiguously defined ORA-06550: line 9, column 3: PL/SQL: SQL Statement ignored
    ORA-06550: line 15, column 82: PL/SQL: ORA-00918: column ambiguously defined ORA-06550: line 9, column 3: PL/SQL: SQL Statement ignored

    Hi Daniel,
    This issue has already been identified, tracked with bug number *14683491*, and has been resolved in development. The fix will be available in our next release. In the meantime, you can still set Application Defaults using the option available in Application Builder. Navigate to Application Builder, and select the Application Builder Defaults option in the Tasks region to the right of the page, pg 4000:1500.
    Regards,
    Hilary

  • Setting application default font

    I have tried to search the Sun Java site for detailed info on this but haven't got anywhere.
    I have an application (Java 1.3) which will be hosted on a UNIX JVM, but displayed on a Windows2000 m/c. The only LookAndFeel available is the Metal one, and the default font is a rather chunky Dialog font.
    I want a font more like the W2000 font (arial or helvetica I think).
    Is it possible to change this in the UIManager/LookAndFeel?
    I have seen some talk in similar threads about discovering font property keys, thne using these to ally a Font object to a certain class of component (e.g labels, panels etc).
    Has anyone done anything similar, and if so can you please spell it out for me!
    Kind regards,
    Dave

    I took a little bit from both of the examples and I put together a new class that allows the user to choose what font to apply to all or, individual components. I thought that it might be helpful to other people.
    enjoy :)
    * <p>Title: </p>
    * <p>Description: </p>
    * <p>Copyright: Copyright (c) 2002</p>
    * <p>Company: NeoCore Inc</p>
    * <p>Based on code by: Andrew Malcolm</p>
    * @author Sandor Dornbush
    * @version 1.0
    package com.neocore.xmsApp;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.plaf.*;
    public class PLAFTest extends JFrame {
    JPanel main = new JPanel();
    JLabel jLabel1 = new JLabel();
    JTextField jTextField1 = new JTextField();
    JButton exampleButton = new JButton();
    JPanel jPanel2 = new JPanel();
    JScrollPane m_jScrollPaneFonts = new JScrollPane();
    JList fontsList = new JList();
    JButton applyButton = new JButton("Apply");
    ButtonGroup buttonGroup1 = new ButtonGroup();
    JRadioButton m_jRadioButtonPlain = new JRadioButton();
    JRadioButton m_jRadioButtonBold = new JRadioButton();
    JRadioButton m_jRadioButtonItalic = new JRadioButton();
    JTextField m_jTextFieldSize = new JTextField();
    JLabel jLabel2 = new JLabel();
    private String[] components;
    JList componentList = new JList();
    public PLAFTest() {
    try {
    layoutComponents();
    addActionListeners();
    catch(Exception e) {
    e.printStackTrace();
    pack();
    GraphicsEnvironment graphicsEnvironment=GraphicsEnvironment.getLocalGraphicsEnvironment();
    String[] fontNames=graphicsEnvironment.getAvailableFontFamilyNames();
    fontsList.setListData(fontNames);
    UIDefaults defaults = UIManager.getDefaults();
    // Build of Map of attributes for each component
    Enumeration enum = defaults.keys();
    Vector v = new Vector();
    v.add("All");
    for(int i=1; enum.hasMoreElements(); i++) {
    Object key = enum.nextElement();
    String key_s = key.toString();
    if(key_s.endsWith(".font") &&
    !key_s.startsWith("class") &&
    !key_s.startsWith("javax")) {
    int index = key_s.indexOf(".font");
    String s = key_s.substring(0,index);
    v.add(s);
    components = (String[]) v.toArray(new String[0]);
    componentList.setListData(components);
    m_jTextFieldSize.setText("12");
    m_jRadioButtonPlain.setSelected(true);
    void this_windowClosing(WindowEvent e) {
    close();
    void close() {
    System.exit(0);
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    FontUIResource font=(FontUIResource)UIManager.get("TextField.font");
    PLAFTest plafTest=new PLAFTest();
    if( font.isPlain()) plafTest.setTitle("PLAF "+font.getFontName()+" "+font.getSize()+" PLAIN");
    if( font.isBold()) plafTest.setTitle("PLAF "+font.getFontName()+" "+font.getSize()+" BOLD");
    if( font.isItalic()) plafTest.setTitle("PLAF "+font.getFontName()+" "+font.getSize()+" ITALIC");
    plafTest.show();
    catch(Exception e) {
    e.printStackTrace();
    private void layoutComponents() {
    JPanel content = (JPanel)getContentPane();
    content.setLayout(new BorderLayout());
    JPanel top = new JPanel(new GridLayout(1,3));
    // pick the font
    m_jScrollPaneFonts.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    m_jScrollPaneFonts.setBorder(BorderFactory.createTitledBorder("Choose Font:"));
    top.add(m_jScrollPaneFonts);
    m_jRadioButtonPlain.setText("Plain");
    m_jRadioButtonBold.setText("Bold");
    m_jRadioButtonItalic.setText("Italic");
    // pick the component to apply it to
    JScrollPane scrolls = new JScrollPane(componentList);
    scrolls.setBorder(BorderFactory.createTitledBorder("Choose Component to Apply to:"));
    top.add(scrolls);
    // all of the example components
    JPanel examples = new JPanel(new GridLayout(0,1));
    jLabel1.setText("Label");
    examples.add(jLabel1);
    jTextField1.setText("TextField");
    examples.add(jTextField1);
    examples.add(exampleButton);
    exampleButton.setText("Button");
    examples.setBorder(BorderFactory.createEtchedBorder());
    top.add(examples);
    content.add(top,"Center");
    // all the stuff on the bottom
    JPanel bottom = new JPanel(new FlowLayout(FlowLayout.LEFT));
    bottom.add(m_jRadioButtonItalic);
    bottom.add(m_jRadioButtonBold);
    bottom.add(m_jRadioButtonPlain);
    bottom.add(applyButton);
    bottom.add(jLabel2);
    bottom.add(m_jTextFieldSize);
    content.add(bottom,"South");
    m_jScrollPaneFonts.getViewport().add(fontsList, null);
    buttonGroup1.add(m_jRadioButtonItalic);
    buttonGroup1.add(m_jRadioButtonBold);
    buttonGroup1.add(m_jRadioButtonPlain);
    private void addActionListeners() {
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    this_windowClosing(e);
    applyButton.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    applyButtonActionPerformed(e);
    void applyButtonActionPerformed(ActionEvent e) {
    try {
    Object o =fontsList.getSelectedValue();
    if(o==null)
    return;
    String fontname=(String)o;
    o = componentList.getSelectedValue();
    if(o==null){
    return;
    String componentName = (String)o;
    int fontsize=12;
    try {
    fontsize=Integer.parseInt(m_jTextFieldSize.getText());
    } catch(Exception ex) {
    ex.printStackTrace();
    return;
    int fontstyle=Font.PLAIN;
    if(m_jRadioButtonPlain.isSelected()) {
    fontstyle=Font.PLAIN;
    else if(m_jRadioButtonBold.isSelected()) {
    fontstyle=Font.BOLD;
    else if(m_jRadioButtonItalic.isSelected()) {
    fontstyle=Font.ITALIC;
    FontUIResource font=new FontUIResource(fontname,fontstyle,fontsize);
    if(componentName.equals("All")) {
    for(int i=1; i<components.length; i++)
    UIManager.put( components[i] + ".font",font);
    } else {
    UIManager.put( componentName + ".font",font);
    switch(fontstyle) {
    case Font.PLAIN: setTitle("PLAF "+fontname+" "+fontsize+" PLAIN"); break;
    case Font.BOLD: setTitle("PLAF "+fontname+" "+fontsize+" BOLD"); break;
    case Font.ITALIC: setTitle("PLAF "+fontname+" "+fontsize+" ITALIC"); break;
    SwingUtilities.updateComponentTreeUI(this);
    catch(Exception ex) {
    ex.printStackTrace();
    }

  • Setting Application Default Page

    Hi,
    I have an application that I want the start page to be the HOME page instead of the LOGIN page. I looked every where in Application Builder but I could not find how to change the start page. Is there a way to change the start page of my application?
    Thanks,
    Bashar

    Scott,
    Let me explain the actual problem that caused me to ask the question. I am testing an application that I built using HTMLDB. I created a DNS mapping to the server and I redirected index.html file in the httpd.conf as follow:
    RewriteEngine On
    Redirect /index.html http://www.AmanaTrans.com/pls/htmldb/f?p=101:1
    When I type www.AmanaTrans.com it redirects me to page 1 correctly. Then I click on a tab to go to a page that requires login and I get the login page correctly. Then if I try to login the login page stops logging me in and stops redirecting to appropriate page. It will just stay in the login page without any errors and I am sure the user name and password are correct. If I change the redirect statement to not include a page in the url it will take me to the login page directly and the login page will work correctly. The redirect statement looks like:
    Redirect /index.html http://www.AmanaTrans.com/pls/htmldb/f?p=101
    I appreciate your help.
    Thanks,
    Bashar

  • How to set my default application...not working

    My company has nearly all adobe applications installed from PageMaker 6.5 through InDesign 5.5. We use them all frequently. I'm trying to set my defaults on the Mac Pros and it is not working.
    Specs if Needed:
    OSX 10.6.8 
    Model Identifier:          MacPro5,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          2.8 GHz
      Number Of Processors:          1
      Total Number Of Cores:          4
      Memory:          6 GB
      Boot ROM Version:          MP51.007F.B01
    +BootCamp dual boot Windows 7
    We proof out all files in the version that it comes to us. Our customers are on different versions than the most current, and it's driving us crazy that we can't set the defaults for
    each Adobe application. For Instance,
    We want for Defaults:
    Photoshop = CS4
    InDesign = CS4
    Illustrator = CS5
    etc.
    The Finder will not allow us to make the change to open all of a certain file type in the version we want by default. We also use a third party application that allows us to "double
    click" InDesign files and open them in the correct version. This saves valuable navigation time and because of the OS's problem with using the correct icons, it also saves us time
    dealing with the "Untitled" document when we accidentally convert by opening in the wrong application by mistake. We have gone through Onyx utilities and massive permissions
    troubleshooting to no avail. Does anyone know how to set the default for ALL files of a type for Adobe Apps? This has been thoroughly tested and is not working on 10 plus
    machines, and only effects Adobe apps.
    Any Ideas?

    I think you miss understand the question. There is a problem with OSX 10.6 and Adobe Apps. 10.5 ok, not sure about 10.7 because of all of the other Adobe problems we downgraded the test machine that we used for the upgrade. There is no way that I have found to make the files “Double-Clickable” through assigning a default application of files with Adobe extensions. We already have an app. that we use and it worked fine until 10.6. I can’t just approve a division-wide purchase of software for a bug that may be solvable by other means (by the way supposed cost of the licensing Soxy is deceiving at $20. Not for us. For companies it’s $20 per platform & also for each time Adobe updates. When we swap out hardware, we have to pay $40 again . Their pricing is absurd). $40 x a couple hundred machines every 18 months or so, uugh! The ten or so I’m working with are just the ones in my immediate department.
    I know you have good intentions with your reply and I appreciate it, however I’m looking to solve the problem, not put a band-aid on it. If the problem is by design so Rorohiko can hold companies hostage, then I guess we’ll just have to deal with the few extra clicks it takes to figure out which version we’re in need of, and dragging to the launch bar.
    Thanks very much for your reply,
    Seth

  • Set Application Parameters link not activate under Web Admin Tasks of Admin

    In the " How to do currency translation..." paper, there is a statement as following:
    "The currency conversion business rules tables can also be activated by going through the web
    admin parameters where the following parameter is set to u201C1u201D.
    FXTRANS                                              1
    However after I login to BPC Admin consol, I notice that Set Application Parameters link not activate under Web Admin Tasks of Admin Consol.
    Where should do this? Should I do it under Set AppSet Parameters?

    DFW,
    In the non-web Admin Console, you should also be able to accomplish the same thing by going to the application, clicking "Modify application", then "Change application type", then "Modify Application", then choosing the "Currency Conversion" application option.
    In general, this is how business rules can be turned on without messing around in the application parameters, and should really be the preferred method unless you have done some kind of customization that an application modification will interfere with.
    Ethan

  • Set the default pathname for the application server

    Dear Guru,
    I have encountered an issue in CG3Z and CG3Y
    I am not able to set the default pathname for the application server
    can any one give some guideline how to set the default pathname for the application server.
    Thanks and regards
    Saifur Rahaman

    Hi Saifur,
    There is no such option in CG3Z or CG3Y. If you still want to do it you will have to customize it by copying the program RC1TCG3Z & RC1TCG3Y  to Z & the Function Modules C13Z_FRONT_END_TO_APPL & C13Z_APPL_TO_FRONT_END to Z & also the program LC13ZF01 to Z which runs both of these transactions.
    And finally the data declaration in the program LC13ZF01  as :-
    DATA:      L_FILE_NAME_FTAPPL          LIKE RCGFILETR-FTAPPL value 'you default pathname'
               DATA:      L_FILE_NAME_FTFRONT         LIKE RCGFILETR-FTFRONT value 'you default pathname'.
    Regards
    Abhii

  • Adobe Reader will not set as default application for .pdf in windows 8.1 pro x64

    When I install adobe reader the icon/app changes from windows reader to Pick an app, I choose change and select adobe reader, the icons on my desktop flicker but nothing actually changes.Control Panel\All Control Panel Items\Default Programs\Set Default Programs\Set Program Associations, Select adobe reader, Choose defaults for this program, PDF is unticked so I tick it and choose save, go back in and it is unticked again??? Right click on a pdf file, choose open with, choose default program, use this app for all .pdf files is ticked, select adobe...Still nothing changes, stays on pick an app. I uninstall adobe reader then the pdf icon changes to and default opens with windows reader again. Reinstall adobe reader and back to the same thing. ???? I am a power user, build configure computers and subsequent software, started with DOS 6.0, learned unix/linux/networking concepts/networking security/server versions of windows/active directory. The only solution I could think of was to hack the registry which I looked for but could not find. I am running 8.1 pro x64, I just discovered that windows reader (which I cant uninstall) has the same problem when adobe reader is installed. Windows will not allow either one to be set as default while they co-exist.

    After an extended session with chat only to be told that since Adobe Reader was free they could not help me :-(... I figured it out myself.
    I opened a administrator: command prompt window and typed "regedit"  Through extensive searching and stumbled on this key located at... HKEY_USERS\S-1-5-21-2274202122-2588692262-2244265822-1001_Classes\.pdf\OpenWithProgids  The S-1-5-21...1001... is my current logged on user, your value may differ slightly. Typically the builtin disabled administrator account is 1000 and when you install windows and create a user account "John Doe" it will have administrator priveleges and be auto numbered 1001, every user account created therafter will increase by 1 ie...1002, 1003, 1004 etc. even if you remove (delete) an account and re-create it you wont get the same number, the system will use the next number in sequence. The old one will have been trashed never to be used again. Again here is the key...
    HKEY_USERS\S-1-5-21-2274202122-2588692262-2244265822-1001_Classes\.pdf\OpenWithProgids I deleted this key under (default) on the right side...
    Name                                                                       Type                                           Data
    (Default)                                                                   REG_SZ                                    (value not set)
    AppX86746z2101ayy2ygv3g96e4eqdf8r99j            REG_NONE                              (zero-length binary value)  ---- This is the key to delete!!!
    Personally I selected computer on the left side and the went to file/export then chose a file name [01 29 2014 regbackup.reg] and location. Then I selected "OpenWithProgids" and did the same thing,[pdf.reg] this saves a backup of the entire regestry and the key you are about to delete as a safety net. When you are done all you have to do is go to a pdf file, right click and choose open with...Adobe Reader - the box always use this app should already be checked.
    I did this and it works yet because improper regestry modification can crash your system I am compelled to warn... Use at your own risk. If you are uncomfortable modifying your registry I would suggest consulting with someone qualified and has resources to do offline registry modifications/restorations which makes it VERY important to do the computer export registry backup.

  • Setting a Default Value in SQL Query Report

    Hello:
    We are using a SQL Query Report to provide a mass update to a table. We are using the apex.collection and having it display a number of records in a SQL Query Report for mass update. We have 14 columns in the report, for which the first 11 are populated via the collection. The remaining 3 are open for input but the individual making the updates. We've were able to provide a default value for 2 of the remaining 3 columns using a named LOV's - however the fourth column we would like to default a sysdate - but we are not successful.
    We've attempted many things but none seem to work, including adding that column to the collection and assigning it a default sysdate value. We've also tried changing the settings in the report attributes --> Tabular Form Elements by setting the Display as to: Datepicker, Default type to PL/SQL Expression and setting the default to sysdate. We've also tried caputuring a date on the previous page and loading it onto the report page and trying to default the date column to a page item default.
    I'd appreciate any help.
    Thanks
    FYI - we are using version 3.2

    use as default
    to_char(sysdate, 'dd/mm/yyy') where the format is your application or item date format

  • How do I set the default welcome page for PUBLIC user

    gurus,
    i'm using -
    Oracle 9i Database
    Oracle 9ias Portal Release 2
    QUESTION => how do I set the default welcome page for the PUBLIC user.
    i did the following to achieve this -
    1. logged into portal
    2. clicked on builder
    3. clicked on administer tab
    4. selected PUBLIC user in the Portal User Profile portlet
    5. went to the preferences tab
    6. in the default home page selected a custom page group
    7. logged out of portal
    8. open a new browsere session
    9. type the portal URL and i get the login page ....??
    i'm unable to understand this behavior ... shouldn't i be getting the page group that i set for the PUBLIC user in step 6 above ....
    the second QUESTION is => when the user logs out he/she should see the PUBLIC page set in step 6 above ... but, instead the user sees a page that is as follows -
    Partner Application Name Logout Status [Logout Status]
    Oracle Portal (portal) logout status
    The SSO Server (orasso) checkmark
    buzz.resva.trw.com:7778 checkmark
    infrastructure.happy.resva.trw.com checkmark
    portal1.buzz.resva.trw.com checkmark
    portal2.sylvester.resva.trw.com checkmark
    sylvester.resva.trw.com:7778 checkmark
    so, how can i set the default page for the PUBLIC user and also a page when he user logs out.
    ideas anyone ....?
    thanx a bunch.
    hero

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • How do I set the default Hero image in a Muse slideshow widget when using Free Form Thumbnails?

    Hello,
    I am trying to find out how to set the default Hero image when using a Muse slideshow widget and in the Layout section I have the "Free Form Thumbnails"
    box checked.
    In other words, when the page loads I want to define which image displays as the first Hero image.
    If I do not select the "Free Form Thumbnails" option, the top left Thumbnail image always displays first. This is fine.
    But when I select the Free Form Thumbnails" checkbox I don't know how to define which image shows first as the Hero image.
    I have a short video at this link where I illustrate the question:
    http://amson.org/misc/default-hero-image-1.mp4
    I have added a WMV video file at the link below:
    http://amson.org/misc/default-hero-image-1.wmv
    Okay… I think I've worked out how to do it!
    [1] First have the "Free Form Thumbnails" box UNCHECKED.
    [2] Organize the Thumbnails and place the image that you want to be the first Hero image when the page loads in the top left corner of the Thumbnails group.
    [3] When you "Preview Site In Browser" the Thumbnail image in the top left corner will always display as the first Hero image.
    [4] If you want "Free Form Thumbnails" go ahead now and SELECT that checkbox.
    [5] Whichever image was in the top left of the Thumbnail group before you checked "Free Form Thumbnails" will still show up as the first Hero image when the page loads, regardless of where that thumbnail image is located within the Thumbnail images group.
    Thanks very much.
    Chris.

    Hi,
    The sequence of operation you are doing to set the home page for public users is correct. You are getting the login screen as the "custom page group" selected as "home page" has not been granted to public.
    Also, while logging-out, it is normal behaviour to get the screen where it shows the list of partner applications from where user has been logged-out. When you click on "Return" button, you will get to the "home page" set above.
    Hope it clarifies the things.
    Regards,
    Ved

  • How can I set the default home page in Firefox 4 for all users that login to a PC on a Win 7 PC?

    I work at a community college in upstate NY.
    We use Firefox as the default browser at our institution and we have always set the default homepage to be our homepage for all users that login to the PC. We had a procedure to to that that worked with Windows XP and FF 3 or earlier
    We would do the following:
    1. go to: c:\Documents and Settings\Administrator\Application Data\Mozilla\FireFox\Profiles\<profile_name>\prefs.js
    2. Add the line: user_pref (“browser.startup.homepage”,”http://www.genesee.edu”);
    3. Copy the Folder
    C:\Documents & Settings\Administrator\Application Data\Mozilla
    To
    C:\Documents & Settings\Default User\Application Data\Mozilla
    4. Restart the computer
    We're going to Win 7 and Firefox 4 and things seem to be different in terms of files and file structure. Does anyone know how to accomplish this?
    Thanks in advance.

    Making customisation from the default profile is generally considered poor practice and quite often doesn't work out as planned. (If you're interested in some more information on this, [http://mockbox.net/windows-7/227-customise-windows-7-default-profile.html see here] see here)
    This article should help you with developing and deploying your customised Firefox 4 installation (without touching the Windows 7 default user profile):
    http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html

  • How do I set my default Shockwave Flash object viewer to Firefox 4 RC?

    In the previous version of Firefox, I set it as my default Shockwave Flash viewer (these were offline objects) by selection the application in my program files.
    When I upgraded to FF 4 RC, I was no longer able to view these files, nor was I able to find the application to default to (it was no longer in program files).
    I tried setting the default viewer to the FF application located in Local Roaming but it won't appear in either the 'recommended' or 'other' when selected.
    I can however still view these SWFs by clicking and dragging them onto the FF window. This isn't a major issue but I'd like to know if and how this can be fixed.
    Thanks

    # Open Windows Explorer.
    # Right-click a Shockwave Flash file (.SWF) and select '''Open with''' then '''Choose default program...'''
    # Click the '''Browse''' button in the lower right corner of the window and choose the Firefox executable. If you've installed Firefox in the default location, its path is ''C:\Program Files (x86)\Mozilla Firefox\firefox.exe''

  • How can I change the application default template

    Hi!
    If I go to Application Shared Components | Definition | Template Defaults I can see the default page template used by my application. One would think that this is the place to change the default template if wanted to change it, but NOOOOOOO..., like many other things ApEx that's not the way you do it. (An example is the order of columns in an interactive report... all those up/down arrows in there mean nothing if ApEx sets the column default order differently from what you set in the query source or the report attributes section. Nope. You have to log into the application as a developer, edit the column order in your interactive report, and save your report as the default, and THEN you'll get your ordering right. What are these ApEx developers thinking I just don't know...)
    I've search around the forums but I haven't found my answers (perhaps I haven't searched hard enough).
    So, how do I change the default page template for all pages in my application?
    Marc

    ...and once there, if you click on any of the templates looking for a way to set any of them as the default you'll be looking all day. You see the default column with check marks... why not implement the ability to check/uncheck defaults right there?
    Alas, if you click on Edith Theme <no>, then you can set the default template. It's a little link to the right under Tasks.
    My bad for still not understanding the way the ApEx interface works. It certainly isn't intuitive to me, but that's just me. Hopefully I'll get better.
    Marc

  • How can I set a default file for JFileChooser

    Hi. I am developing a p2p chat application and I have to unrelated questions.
    1. How can I set a default file name for JFileChooser, to save a completly new file?
    2. I have a JTextArea that I append recieved messages. But when a message is appended, the whole desktop screen refreshes. How can I prevent that?
    Hope I was clear. Thanks in advance.

    Thank you for the first answer, it solved my problem. Here is the code for 2nd question, I've trimmed it a lot, hope I didn't cut off any critical code
    public class ConversationWindow extends JFrame implements KeyListener,MessageArrivedListener,ActionListener,IOnlineUsrComp{
         private TextArea incomingArea;
         private Conversation conversation;
         private JTextField outgoingField;
         private JScrollPane incomingTextScroller;
         private String userName;
         private JButton inviteButton;
         private JButton sendFileButton;
         private JFileChooser fileChooser;
         private FontMetrics fontMetrics;
         private HashMap<String, String> onlineUserMap;
         public void MessageArrived(MessageArrivedEvent e) {
              showMessage(e.getArrivedMessage());
         public ConversationWindow(Conversation conversation)
              this.conversation=conversation;
              userName=User.getInstance().getUserName();
              sendFileButton=new JButton("Dosya G�nder");
              sendFileButton.addActionListener(this);
              inviteButton=new JButton("Davet et");
              inviteButton.addActionListener(this);
              incomingArea=new TextArea();
              incomingArea.setEditable(false);
              incomingArea.setFont(new Font("Verdana",Font.PLAIN,12));
              fontMetrics =incomingArea.getFontMetrics(incomingArea.getFont());
              incomingArea.setPreferredSize(new Dimension(300,300));
              outgoingField=new JTextField();
              outgoingField.addKeyListener(this);
              incomingTextScroller=new JScrollPane(incomingArea);          
              JPanel panel=new JPanel();
              panel.setLayout(new BoxLayout(panel,BoxLayout.PAGE_AXIS));
              panel.add(inviteButton);
              panel.add(sendFileButton);
              panel.add(incomingTextScroller);
              panel.add(outgoingField);
              add(panel);
              pack();
              setTitle("Ki&#351;iler:");
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              setLocationRelativeTo(null);
              addWindowListener(new CloseAdapter());
         //Sends the message to other end
         public void keyPressed(KeyEvent e) {
              if(e.getKeyCode()==KeyEvent.VK_ENTER && e.getSource()==outgoingField)
                   String message=outgoingField.getText();
                   if(message.equals("")) return;
                   showMessage(userName+": "+message);
                   conversation.sendMessages(userName+": "+message);
                   outgoingField.setText("");     
         //Displays the recieved message
         public void showMessage(String message)
              if(fontMetrics.stringWidth(message)>incomingArea.getWidth())
                   int mid=message.length()/2;
                   StringBuilder sbld=new StringBuilder(message);
                   for(;mid<message.length();mid++)
                        if(message.charAt(mid)==' ')
                             sbld.setCharAt(mid, '\n');
                             message=sbld.toString();
                             break;
              incomingArea.append("\n"+message);
    }

Maybe you are looking for