Achieving iPhone Native Look-and-Feel

Im currently doing an Iphone tutorial for my final year project.
Here's the link for the tutorial that I am doing http://www.oracle.com/technology/pub/articles/huang-iphone.html
I have no idea how to start doing the second part of the tutorial; Achieving iphone native look and feel. Where should i place the codes listed in the tutorial in my .jsp file
Regards
Shirleen

Hi,
Did you have a look at the FOD mobile sample application.
Provide your email and i will send it to you.
Emile.

Similar Messages

  • Configurable look and feel

    Hello Java masters,
    This is not question, but I just like to tell you about something I find today while answering other forum writers question...
    http://www.javadesktop.org/articles/synth/index.htmlHe lets you configure look and feels using configuration file, and "plug in" custom renderers (like gradient paint filling etc).
    He looks very powerful but I haven't read about him in the press - so thought I would (how do you say...) "give him a shout out".
    Yardedoo!

    Azureus uses a different graphical toolkit for Java (SWT I think its called) which can more easily take on the native look and feel of either GTK (Gnome's primary toolkit) or QT (KDE's toolkit) depending on whats running.
    Most Java apps just use the Swing GUI toolkit (Java's own), which only takes on the look and feel of GTK stuff... totally ignoring QT to fend for itself =\. I use gtk-qt-engine to get GTK apps to imitate KDE's appearance, not sure if Java's Swing is affected by that though.

  • Java Components and Look and Feel

    Can anyone suggest a free look and feel that does not resemble the standard stuff that comes with the JDK?
    Also, Swing seems to be missing some important components like dockable windows, and toolbars. Can anyone suggest some resource that offers interesting swing components?

    Can someone suggest a good API for doing this stuff?
    I would really like to consider using Java for some
    e real world application, but the swing interface
    makes applications look at least 15 years old.Really? My applications look like native windows applications (when run under Windows, at least). Try setting the native look and feel. Search the forum if you don't know how.

  • Replacing part of a Look and Feel

    Hi, all,
    I have designed a new UI delegate for buttons (Both command buttons and toggle buttons), ones that fit better with the color palette, gradients, fonts, spacing, icons, borders, etc, that we have been using for much of the rest of our GUI. Up to now, I've been replacing the UI delegate of each button after I create it, but I'd like to do a global replacement of this UI for all buttons that use the default UI delegate. That way, I can still use things like JOptionPane.showXXXMessage(), and those buttons will be updated as well.
    The only way I can find to do this is to write a new Look and Feel, but I only have a new UI delegate for buttons, and I would like for any other JComponents to continue to use the default look and feel (that is, the system native look and feel, or which ever look and feel is set to be used in their properties, etc). Does anybody know of a way to tell the UIManager (or some other component it uses) to use my UI delegate for Buttons, and use it's defaults for everything else? Preferably without writing a new Look and Feel?
    Thanks!
    Adam

    To make all buttons use the BasicButtonUI you set the following:
    UIManager.put("ButtonUI", "javax.swing.plaf.basic.BasicButtonUI");I imagine that you can replace the class name with your own UI. Remember to do this after you set the look and feel.

  • Look and Feel : Metal !

    I'm working with "design" in JBuilder, all components are "Swing" but when
    i run my program then it's not display in Metal model, it's display in Windows model.
    How i do to my program display in Metal model? Please eveyone help me!

    Hi! :)
    That's because JBuilder uses the native look and feel each time. You can comment out the lines in the code JBuilder is producing that are responsible for the LAF.
    If I may, a piece of advice... Forget JBuilder's designer! It's crap!
    CUL8er,
    Nick.

  • I just updated iOS on my iPhone 5. What a shock!! Where is the premium look and feel I bought my iPhone for? If I wanted the lokale feel of iOS 7.0 I would have bought a much cheeper taiwanese smartphone. Please let me know how I can return to the origina

    I just updated iOS on my iPhone 5.
    What a shock!! Where is the premium look and feel I bought my iPhone for?
    If I wanted the lokale feel of iOS 7.0 I would have bought a much cheeper taiwanese smartphone.
    Please let me know how I can return to the original look and feel of the iPhone surface I bought my phone for.

    You had plenty of time to look at screenshots on the internet and read various blog posts about iOS 7.

  • HT4623 I have just updated to ios7 on my iphone and don't like the look and feel of this update. Where are all the colors and texture of all the older isos, all those white background colors,yuk. Is a way to go back to the ios6

    I have just updated to ios7 on my iphone and don't like the look and feel of this update. Where are all the colors and texture of all the older isos, all those white background colors,yuk. Is a way to go back to the ios6

    "Unlike".  iOS 7 doesnt display well on my 4S. iOS 6.1.3 should still be supported for older hardware.  I think I shall me moving to Samsung Galaxy now.  Was really hoping hte new iphone would get a bit larger.

  • Notification center look and feel

    The new notification center look and feel seems quite unlike the rest of the iPhone.
    Most of the iPhone has a light colored, rounded, kind of comfortable look. But the new notification center has a much more dark, angular look. (To me, it looks more like an Android app than an iOS component.)
    Any chance it can be rebranded? Or failing that, any chance of a settings option to customise the background image, so I can at least change from the dark "linen" texture to a wallpaper of my choice? (e.g. it might look much nicer (to me!) if I could change it to use the default iPhone water drops background). The slide down button itself (the bit of the notification center graphics which appears on screen, even in full-screen mode, if you make the 'wrong' move) could be much more rounded, as well.
    Mike

    iOs 5 in general looks and feels awkward to me.  It feels cheap and not at all as polished as Apple's products have been in the past.  The alarms have new colors for no apparent reason, the text messages have colors for no apparent reason, the notification center has a distracting texture, again, for no reason... Yet none of these colors or textures are configurable or removable.  What was the point exactly?
    This theme shift is quite discouraging in the grand scheme of things.  It doesn't bother me much, but I definitely prefered the way my phone looked when I bought it.

  • Can i get XP look and feel?

    Hi,
    I want to XP look and feel in my swing application. In c# i can get XP style but is it possible in java or not. If yes how please give me a little hint
    thanks,

    Dude. this is just for making the L&F look as native platfrom.
    Its better than using motif or some that kinda L&F.
    (Looks like XP on Win XP... looks like windows on other win versions)
    String nativeLF = UIManager.getSystemLookAndFeelClassName();
         // Install the look and feel
         try {
              UIManager.setLookAndFeel(nativeLF);
         } catch (InstantiationException e) {
         } catch (ClassNotFoundException e) {
         } catch (UnsupportedLookAndFeelException e) {
         } catch (IllegalAccessException e) {
    Dont forget to import this :
    import javax.swing.UnsupportedLookAndFeelException;
    have fun Enjoy!
    [email protected]

  • BSP - Look and Feel / Theme

    Good Morning All,
    disclaimer: I checked the blogs, I checked the discussions, I checked the examples, I checked the doco - and couldn't find the answer to my question.
    Question:
    I've already seen it, but can't remember where it is, does anyone know the name of the BSP Sample/Example which comes with the WAS which has the EP6 look and feel ?
    I saw it a few weeks ago and I can't find it now and I want to study the code from it to make my app have a nicer look and feel.
    Note: I read Thomas's blog on - 'A developer's Journal Part VI
    and although that example discussed what I am interested in I couldn't see examples in the code of creating the header bar etc, maybe it's just me, but at the moment that's what I would like to achieve and to do it by example.
    So to conclude if anyone knows / can remember the name of the BSP example which has an EP6 look and feel please let me know so that I can study it for inspiration.
    Thanks very much,
    Milan.

    Hallo Milan,
    I think that you are doing good. It is always the best to follow a small mix of documentation reading and practical work. So let me tell you the minimum to get a first version working. Thereafter to can continue reading!
    Problem: we want to implement a simple link tag (in 15 minutes!) that works like this:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <%@extension name="bcm06" prefix="bcm06"%>
    <htmlb:content design="design2003">
      <htmlb:page>
          <b><bcm06:simpleLink href="http://www.sap.com">
              SAP Home Page!
          </bcm06:simpleLink></b>
      </htmlb:page>
    </htmlb:content>
    In SE80 we defined a new BSP library bcm06. We define a new element simpleLink. Typical handler class name will be CL_BCM06_SIMPLELINK (just the convention we use).  As body this tag can contain other HTML and also over BSP elements (we want to just render a link around all of body). We don't worry about the rest of the checkboxes. They will become interesting later on.
    We activate the library. The workbench will detect that no handler class exists, and will generate all of the stuff we need. Now already the tag is full functional, and can be used on any BSP page. It just will not do anything.
    What was generated? The class inheritance diagram is as follow: CL_BCM06_SIMPLELINK --> CL<b>G</b>_BCM06_SIMPLELINK --> CL_BSP_ELEMENT.
    The class CL_BSP_ELEMENT is the base class, and it contains a lot of interesting functionality. None of which we worry about now. Never try to change it!
    The class CL<b>G</b>_BCM06_SIMPLELINK (note that CLG<b></b>_!) is generated new each and everytime that you touch the definition of the tag. Effectively all the defined attributes are generated onto this class, so that they are already of the correct type, and that this information is always in sync. This means that all your tag defined attributes are directly attributes on your class. In our case, the defined "href" attribute (type string) is now an attribute on the CLG class.
    The last class CL_BCM06_SIMPLELINK will only be generated once if it does not exist. This is the class where you work. In this class there are two methods that are interesting to you at this moment. Later you will learn about the rest.
    DO_AT_BEGINNING: This method is called effectively in response to the <lib:tag> sequence. This is the code that executes before the body. This is the place where we would like to render out "<a href=...>" sequence.
    DO_AT_END: This method is called effectively at the end of the tag, when the </lib:tag> is seen. The body has now already been processed and sent onto the output stream. So we only need to render "</a>".
    Note that these methods are implemented empty. You <b><u>*MUST*</u></b> overwrite them, and implement them in your class. See instructions from Thomas. Source code:
    <b>METHOD if_bsp_element~do_at_beginning.</b>
      DATA: html TYPE string.
      CONCATENATE `<a href="` me->href `">` INTO html.
      me->print_string( html ).
      rc = co_element_continue.
    ENDMETHOD.
    <b>METHOD if_bsp_element~do_at_end.</b>
      me->print_string( `</a>` ).
      rc = co_page_continue.
    ENDMETHOD.
    Notice that you DO NOT need that super call. The base method will always be empty (from definition, will never change). You also have a direct PRINT_STRING method in newer SPs. The return code you must set. (To tell the truth, the constants for RC have been picked so perfectly that if you forget them, it should not hurt in 85% of the cases.)
    That is it. Test page. Mine worked!
    Of course, we can start looking at more exotic things, like empty tags, at tags that skip their bodies if not required, processing the body, validation, etc.
    But this overview was just to give you that first success feeling, and also to give you a better framework for understanding more of the documentation as you continue to read.
    Recommended: read <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">Getting Help</a> to see how you can quickly navigate between BSP page and a tag's definition, from where you also quickly get to the implementation class of the tag.
    bye, brian
    PS: Now if this is not already the first page of your weblog done

  • Why my System Look and feel got corrupted ??

    HI ,
    I have written a simple swing app which consists of jtextarea in a jscrollpane , and a jbutton, in which the textarea is updated with random text.
    I decided to change the theme to native look&feel and so i included the
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName() );
    in the constructor ..
    but the components went messy in the output !!!
    It'sn't a system look and feel ..
    I tried inserting in a static block before the constructor and tried changing the theme ... but in vain
    take a look
    http://img228.imageshack.us/my.php?image=javaswingprobaw3.jpg
    Pls help

    My thoughts exactly .. looks Windowsy to me.

  • Wireframes to portal look and feel

    hi,
    i am working on a webcenter portal application.
    as usual, we have got wireframes (html prototypes) from customer which has html, js and css files.
    now i have to produce same kind of look and feel on webcenter portal.
    please suggest what shall i do?
    is this recommended way?
    i copy content of css file which i got as part of wireframes into portal-skin.css file, now i use html components (div, ul, li, p etc) in page template and other jspx pages (reference could be the html files which i got in wireframes).
    please suggest.

    Hi.
    You can select two ways:
    - Continue with your HTML + CSS and create templates based directly on wireframes. Faster and easier solution for non-adf people.
    - Translate your wireframes to a ADF Templates and use ADF Skinning to achieve the styles. Slower and hard if you don't have much experience with it.
    About the solution of maintain HTML + CSS:
    - Maintain your structure of CSS, images and JS in separated folders of skin folder (In Web Content or in project PortalWebAssets).
    - In Skin files (like portal-skin.css) change ADF Skinning of components only. Is the best way to maintain the hierarchy of adf skins.
    About the solution full ADF:
    - Read this document about full ADF Skin and Templates: http://www.oracle.com/technetwork/middleware/webcenter/portal/learnmore/pagetemplates-1438595.pdf
    More info:
    - In adf-config.xml you can provide rewrite rules to search your static-files when you are using Web Server (OHS) to server static-files.
    I hope this help you.
    Regards.

  • Non-sap screen look and feel in webdynpro abap

    Dear Experts,
    I have a Webdynpro ABAP application which is fetching data from LFA1 and LFB1.
    My client wants a non-sap look and feel onto the screen, he doesnt want the SAP Color and all.
    How can i achieve this to look it commercial ??
    Please suggest.
    Regards,
    Mamai.

    Hi Mamai,
    WDA,maintain two parameters WDFORCEEXTERNALSTYLESHEET = 'X' and WDTHEMEROOT = 'CustomerThemes".
    for ur application , add the parameter sap-ep-themeroot=/SAP/PUBLIC/BC/UR/NW5/THEMES/MYCUSTOMTHEME to ur application URL , where MYCUSTOMTHEME is the theme u have created under the path /SAP/PUBLIC/BC/UR/NW5/THEMES/ in ur system.
    Please go through this..
    http://help.sap.com/saphelp_nw70/helpdata/en/7b/fb57412df8091de10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/46/89af7fbe4d429ee10000000a1553f7/content.htm
    and for custome theme..
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?quicklink=index&overridelayout=true
    Re: Custome theme or stylesheet for one WD Application
    stylesheets..
    http://help.sap.com/SAPhelp_nw73/helpdata/en/47/af752005c92fe1e10000000a42189d/content.htm
    Cheers,
    Kris.
    Edited by: kissnas on Apr 21, 2011 6:44 AM

  • I sure hope that the new imessenger doesn't look like the text messaging app, that would be a huge flop for apple. It has to look and feel like bbm or it will just suck.

    I sure hope that the new imessenger doesn't look like the current text messaging app, that would be a huge flop. I think I should look and feel like the bbm to make any kind of significant impact. Am I wrong?

    "iMessage in iOS 5 brings the functionality of iPhone messaging to all of your iOS devices―iPhone, iPad and iPod touch. Built right into the Messages app, iMessage allows you to easily send text messages, photos, videos or contact information to a person or a group on other iOS 5 devices over Wi-Fi or 3G. iMessages are automatically pushed to all your iOS 5 devices, making it easy to maintain one conversation across your iPhone, iPad and iPod touch. iMessage also features delivery and read receipts, typing indication and secure end-to-end encryption."
    That is from the Apple site. If all your friends have an iPhone, iPod Touch, or iPad you cang share with your friends, with is exactly like BlackBerry Messenger (BBM only works on BBs).
    And it does look just like the current message format. You can also find that at www.Apple.com

  • JSP Tags Look and Feel

    I want to customize the look and feel ( fonts , BG colours , Layout etc ) of the pages rendered for the
    wizard and dialog tags like FormatCustomizer , CrossTabOptions , CalcBuilder etc, in BI Beans 9052 . How can this be achieved ?

    Hi,
    If you are using the BI beta release please use the beta forum to ask your questions.
    BI Beans PM

Maybe you are looking for