answersLogoWhite

0


Best Answer

Hi,

Using desktop class u can open the .chm or any other kind of file that was in your computer.

Desktop.getDesktop().open( new File("D:/Documents and Settings/ Document.chm"));

Don't forget to include the line import java.awt.Desktop;

This class is available with Java 6 updates.

Java rocks!!!

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you open chm file in Java programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Cut of list in CHM college?

75


Characteristics of procedural programming?

FeaturesWhen the creation of Embedded Wizard started in 2003, the main idea was to deliver the comfort - known from PC development tools - to embedded systems. With the help of customer's feedback, it has been improved ever since, to support the daily GUI development workflow in the best possible way.See 10 features that will simplify your GUI project:1. Integrated Development Environment (IDE)Embedded Wizard's comfortable IDE provides drag-and-drop, copy-and-paste and undo-redo functionality. Sophisticated utilities, like the object browser and the 'assistants', enable an easy overview over the application structure and a quick access to its members. Developers will find everything they need in one familiar place.2. Visual Programming ApproachCreate GUI applications by clicking, dragging and connecting visual to logical components with the mouse. Benefit from instant WYSIWYG (What you see is what you get) and evaluate your GUI's appearance already at design time. Even target constraints, like limited color range, can be displayed in the IDE. And with Embedded Wizard's instant prototyper you can step-by-step verify your GUI's design, behaviour and usability.3. Flexibility & Platform IndependenceImplement the desired behavior of a single GUI component or the entire application in Embedded Wizard's own, platform independent programming language, called 'Chora'. It is very similar to C, C++ and easy to learn. Besides standard statements like if, for, while, switch and local variables, Chora also provides useful operators and data-types especially for GUI applications. Chora also includes a garbage collector. Finally, Embedded Wizard analyses your project, intercepts possible errors and generates ANSI C code out of the project - optimized for each target (See 9. Targeting).4. Object Oriented ProgrammingAll components of a GUI application are realized as classes. Embedded Wizard's programming language 'Chora' supports derivation of classes, inheritance, overriding of inherited class members and polymorphy. This enables a highly iterative development process and results in well-structured, easy to maintain projects and reduced code size. Developers, who are familiar with OOP, can benefit from that knowledge, however, Embedded Wizard also supports a very simple programming model, which allows also developers without deep OOP knowledge, to create great results in a very fast time.5. Ready-to-use componentsFor an easy start-up, the 'Mosaic' class library was designed. It provides visual components for displaying text, images, color gradient, etc. as well as sophisticated widgets like buttons, select boxes, text fields, menus, panels and more. The class library also includes infrastructure for animation effects, event handling, focus handling, alignment, arrangement, touch screen and mouse support, and many more.6. LocalizationDevelop multilingual applications, which can change text, graphics, fonts and even layout for each language. Thanks to UNICODE support, GUI applications can combine Greek, Cyrillic, Japanese, Far East and other notations within a single text. Whenever the current user language is switched, all dependencies are evaluated and displayed automatically.7. Variants & Diversified GUIs"Variants" are a unique concept of Embedded Wizard, to facilitate the handling of different themes, layouts and screen resolutions within one GUI project. Variants of a GUI can be determined at compile time or switched at runtime. Moreover, the integrated JPEG file support, enables dynamic loading of JPEG images from hard disk or a content provider into the GUI for more flexibility and variety.During runtime, the intelligent resource management takes care, that only the needed resources (e.g. fonts, images) are loaded to save memory.8. DebuggingIf your GUI application does not behave as desired, the powerful integrated debugger enables the step by step execution of 'Chora' statements, the setting of breakpoints and inspection of all variables and objects. Thus, you can be sure, that any GUI code generated by Embedded Wizard runs perfectly stable.9. TargetingTo bring your application to a particular target, Embedded Wizard analyses the project, intercepts possible errors and translates it into optimized, highly reliable and well-documented ANSI C code. The result can be compiled and linked with your main software. All target specific aspects, like the CPU architecture, the operating system and color format of the screen are handled by 'platform packages', which are tailored for a specific target platform. You can simply exchange the platform packages to generate code for various targets out of a single GUI project.10. DocumentationTo document the structure of your GUI application, Embedded Wizard can automatically create Microsoft HTML help files (chm), which are especially helpful when transferring your project to colleagues or third parties for maintenance and modifications. The documentation describes components, shows their inheritance and lists their members. It is enriched with descriptions that can be entered by developers optionally for every member in the project.


What is the HTML language used for?

HTML is the core of most (if not, all) websites. Other languages may be used to output HTML, or to alter how it is displayed to the user. So, HTML Applications can be based on anything you would like to see on a website: Information, blogging, shopping, etc.


Related questions

Can kindle e book readers read books in CHM format?

No, Kindle e-book readers do not support the CHM format. Kindle devices primarily support formats like MOBI, AZW, and PDF. You would need to convert the CHM file to a compatible format like PDF before reading it on a Kindle device.


How do you highlight text in chm?

You can use a s/w called UltrChm. It is a powerful Chm reader with many features like bookmarking, Highlightingetc. though it has got some bugs in itself. Try it dude!!If you want to highlight text in a CHM document, you can easily do this with Beyond CHM, which is a powerful CHM reader and editor.


What is a three letter abbreviation for chemistry?

CHM


How can you pass your chm o level?

ccgcgcgcgcccfcfcg


What is the abbreviation for 'Chairman'?

C or Chm or Chmn


Cut of list in CHM college?

75


What is the meaning of the acronym CHM?

The acronym CHM stands for certified master of surgery given to only the highest ranked surgeons who have been in the business for a decade and have timeless experience in the field and know how to react when something goes wrong.


When will bsc second year result will come in CHM College Ulasnagar?

http://wiki.answers.com/Q/When_will_bsc_second_year_result_will_come_in_CHM_College_Ulasnagar"


What is app.helpfile in vbnet?

For providing context-sensitive help to VB5 and Vb6 applications, we can set the property called App.helpfile and hook-up the helpfile with the application. For VB 5 and above one can use .hlp files as help files. For Vb6 and above one can use .chm files as application help files. In VB.NET this property is not used for providing F1 help to the applications. Instead a control named - Helpprovider is dropped on the form and configured for associating help topics frm the .chm file to the form controls.


What is the meaning of the abbreviation of the naval rank CHM?

The use of the word 'rank' for Navy enlisted personnel is incorrect. The term is 'rate.' The rating badge is a combination of rate (pay grade, as indicated by the chevrons) and rating (occupational specialty, as indicated by the symbol just above the chevrons).The closest I can determine is that CHM is a rating meaning Chief Hospital Corpsman.


What is the airport code for Tnte. FAP Jaime Montreuil Morales Airport?

The airport code for Tnte. FAP Jaime Montreuil Morales Airport is CHM.


What is the chemical equation for soap with NaCl?

This is not for sodium myristate but the website is useful. http://www.elmhurst.edu/~chm/vchembook/554soap.html