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

  • SEARCH
  • Home
  • 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 8674639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:45:26+00:00 2026-06-12T19:45:26+00:00

I am having errors when I call LoadInput() function… private void loadInput() { String

  • 0

I am having errors when I call LoadInput() function…

private void loadInput() {
        String fn;
        FileDialog fd= new FileDialog((Frame)this.getParent(), "Load RS-274D/X file...", FileDialog.LOAD);

        fd.setVisible(true);

        fn = fd.getFile();

        if (fn != null)
            readInput(fn);

    }

And here is an exception:

Exception in thread "AWT-EventQueue-1" java.lang.Error: Unresolved compilation problem: 
    The constructor FileDialog(RS274X, String, int) is undefined

    at RS274X.loadInput(RS274X.java:251)
    at RS274X.actionPerformed(RS274X.java:165)
  • 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-06-12T19:45:27+00:00Added an answer on June 12, 2026 at 7:45 pm

    The error clearly tells you your FileDialog class doesn’t have a constructor for:

    FileDialog(RS274X, String, int)
    

    Make sure your class contains the constructor you need and that you send the right parameters when creating the object.

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

Sidebar

Related Questions

I am trying to send SMS using a webservice call. But am having errors
Having this errors when trying to compile/run my app using Maven. I've succeeded to
I am having trouble with this error message as the line it errors on
When I call merge_sort I get a string of errors as such the most
I'm having trouble specifically with the getimagesize function. I'm making the function call from
i'm having trouble this errors keep comeup : 1046: type was not found not
Having some issue with my function call please. I have a situation that I
quick question Can you use the free() function without having to prior call a
I'm having a problem where I get errors when I try to execute this
Whenever there is a call to an undefined function, no errors are logged. Instead

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.