`
dodoflying
  • 浏览: 178631 次
社区版块
存档分类
最新评论

How to Apply the J2ME Polish GUI for Existing Applications

阅读更多
-------------------page 203--------------------------------
|How to Apply the J2ME Polish GUI for Existing Applications |
 -----------------------------------------------------------
If an existing application should be “polished up” you should insert #style preprocessing directives within the application to allow a fine grained design.

//#style mainScreen
List mainScreen = new List( "Main Menu", List.IMPLICIT );
//#style mainScreenItem
mainScreen.append( "Start Game", null );

You then need to use static styles in the “polish.css” file.
Static styles can have almost any alphanumerical name and need to start with a dot:

.mainScreen {
padding: 5;
background-color: yellow;
columns: 2;
columns-width: 40, 100;
}

In the last step you should refine your designs by adjusting them for different handsets. If you want to make adjustments for the SonyEricsson P900 for example, you need to create the file “resources/SonyEricsson/P900/polish.css”. In this file you can change any settings which you have done in the basic “resources/polish.css” file.
Remember that you only need to specify attributes which are different, this makes subsequent changes easier.

Find more information on designing for specific devices on page 112.

分享到:
评论

相关推荐

    j2me polish v212源码

    J2ME Polish是一款用于开发Java ME(也称为J2ME)应用程序的开源工具,它提供了一种优雅的方式来创建具有高级用户界面和优化性能的移动应用。这个“j2me polish v212源码”是该工具的一个特定版本,包含了全部的源...

    pro j2me polish

    **Pro J2ME Polish** 是一个强大的开源工具集,专门用于提升Java ME(J2ME)应用程序的用户体验和视觉效果。这个工具包为开发者提供了丰富的功能,使得在移动设备上开发出具有现代用户界面和高级特性的应用成为可能...

    j2me polish 入门教材

    **J2ME Polish入门教材详解** Java 2 Micro Edition(J2ME)是Java平台的一个子集,专门用于开发在小型设备和嵌入式系统上运行的应用程序,如手机、智能手表和家用电器等。而J2ME Polish是J2ME开发的一个增强工具,...

    J2ME polish 相关资料

    **J2ME Polish** 是一个强大的工具,专为Java Micro Edition (J2ME) 平台设计,用于创建具有高质量用户界面的移动应用程序。它提供了一套完整的框架和库,使得开发者可以轻松地构建出与Native UI(原生用户界面)相...

    J2ME Polish 初级教程

    **J2ME Polish 初级教程** Java 2 Micro Edition(J2ME)是Java平台的一个子集,专为资源有限的移动设备如手机、PDA等设计。它提供了开发和部署嵌入式应用程序的框架。J2ME波兰(J2ME Polish)是一款强大的工具,...

    pro j2me polish 源码

    1. **用户界面增强**:Pro J2ME Polish 弥补了J2ME平台在图形用户界面(GUI)方面的局限,引入了自定义组件、动画效果、触摸屏支持以及多分辨率适配,使移动应用看起来更加现代和专业。 2. **设备兼容性**:该工具...

    MCRM.rar_j2me_j2me Polish_mcrm_polish_管理系统

    针对这一趋势,开发者们利用Java 2 Micro Edition (J2ME) 平台,结合j2me Polish技术,构建了一款高效、便捷的移动客户关系管理系统(MCRM)。本文将深入探讨这个系统的开发背景、核心功能以及其在实际应用中的价值。 ...

    《J2ME Polish 初级教程》中文 PD

    现在好了,开源工具J2ME Polish 提供了针对这个问题的解决方案,事实上J2ME Polish为无线JAVA程序开发人员提供了一整套的工具。这些覆盖用于编译、预审核和打包程序的标准的工具,精致的可选GUI使你能通过一个简单的...

    Pro J2ME Polish Open Source Wireless Java Tools Suite(普通下载).rar

    《Pro J2ME Polish:开源无线Java工具套件详解》 在移动开发领域,Java ME(J2ME)曾是创建跨平台移动应用的主流选择,尤其在功能手机时代。Pro J2ME Polish是一个强大的开源工具,专为提升J2ME应用程序的用户体验...

    j2mePolish安装配置文档

    6. GUI工具:J2ME Polish 2.0 beta3 二、下载资源 1. Eclipse 3.2.1:http://mirrors.nsa.co.il/eclipse/eclipse/downloads/drops/R-3.2.1-200609210945/eclipse-SDK-3.2.1-win32.zip 2. J2ME Polish 2.0 beta3:...

    j2mepolish,J2MEPOLISH,polish开发环境搭详细讲解

    **J2ME Polish:打造高端J2ME应用的利器** J2ME Polish是一款强大的开源工具,专门用于提升Java Micro Edition(J2ME)应用程序的用户体验和视觉效果。它通过为J2ME应用添加丰富的图形界面和高级功能,使得开发者...

    如何真正配置J2ME POLISH

    ### 如何真正配置J2ME POLISH #### 知识点一:理解J2ME与POLISH的关系 在深入配置之前,我们首先需要了解J2ME(Java 2 Micro Edition)与POLISH之间的关系。J2ME是Sun Microsystems为嵌入式设备和移动设备设计的一...

    Prentice Hall - Enterprise J2ME - Developing Mobile Java Applications - 2003 - (By Laxxuss).chm

    Prentice Hall - Enterprise J2ME - Developing Mobile Java Applications - 2003 - (By Laxxuss).chm

    Complete_Guide_to_J2ME_Polish

    ### 完整指南:J2ME Polish #### 引言 《完整指南:J2ME Polish》是一本专为专业无线Java开发人员编写的详细指南。本书深入探讨了Polish技术,这是一种用于优化J2ME应用程序开发过程的框架。通过本书,读者可以...

    j2me polish css

    j2me polish cssj2me polish cssj2me polish cssj2me polish cssj2me polish cssj2me polish cssj2me polish cssj2me polish cssj2me polish css

    使用J2ME Polish进行游戏编程

    J2ME Polish 游戏引擎为MIDP1.0的设备提供了完备的MIDP2.0游戏API。在这篇文章中,是从Robert Virkus的 Pro J2ME Polish 摘录的。你将学会通过设置各种预处理变量从而优化游戏引擎;在MIDP1.0平台游戏引擎受限的条件...

    J2ME Polish学习资料

    2ME Polish 是用于开发J2ME应用的工具集: 从一份源代码中为多种设备和多种语言创建应用的建造工具(build tools)。 一个设备数据库,您的应用可以用它通过预处理为不同的手机进行调整. 一套用户界面(GUI), 可以在...

Global site tag (gtag.js) - Google Analytics