Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6066191
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:28:27+00:00 2026-05-23T09:28:27+00:00

For my program I have 2 questions: The program I am creating will act

  • 0

For my program I have 2 questions:

  1. The program I am creating will act like MS Office. How do I associate Word, Excel, and PowerPoint files with my program?
  2. My program lets the user use a lot of code associated with Java (JPanel). Is there any other format to save a file other than a *.java file (Such as *.A2W Alice files)? Also I can’t understand how Alice reads and saves *.A2W!

Can somebody help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:28:28+00:00Added an answer on May 23, 2026 at 9:28 am

    For the first, it depends on the operating system, which you have not specified. If it’s on Windows, there is a pair of Windows commands: assoc and ftype. Each type of file is given a “type name.” assoc associates an extension with a type, and ftype associates a type with a command to execute.

    For example, on my workstation I’m using now, I have .jar associated with jarfile assoc .jar=jarfile and jarfile associated with “C:\Program Files\Java\jre6\bin\javaw.exe” -jar “%1” %* ftype jarfile="C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1" %*

    Note: You need to be in the administrators group to do this.

    For the second question (which probably should have been in a separate question), .java is not a file format. .java files are actually just plain text files. The code for most programming languages is like that, so it’s equivalent to a .txt file so you can read and write it in any editor you prefer. The file extension merely lets the java compiler know that the code is in fact java code even though it’s in a plain text format.

    The java compiler, however, will not normally compile code that has an extension other than .java If I try, I get the error error: Class names, 'myFile.blah', are only accepted if annotation processing is explicitly requested This leads me to believe that there is a way to get it to compile anyway, possibly by providing it with some custom annotation processors? I’m not sure, I have never done anything like that. Still, if the code is Java code, you can just let it have a .java extension.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand the practical difference during the execution of a program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.