Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Java wont import things correctly?

I have created a project and wished to add a sample project which was a web browser into it. I have made a copy of the jar in my library, copied the .java file and tried every other thing I can think to try. The problem is when I refactor the .java I get import errors:

import java.util.List;

import javafx.application.Application;

import javafx.beans.value.ChangeListener;

import javafx.beans.value.ObservableValue;

import javafx.event.ActionEvent;

import javafx.event.EventHandler;

import javafx.geometry.HPos;

import javafx.geometry.Insets;

import javafx.geometry.VPos;

import javafx.scene.Node;

import javafx.scene.Scene;

import javafx.scene.control.Button;

import javafx.scene.control.TextField;

import javafx.scene.layout.ColumnConstraints;

import javafx.scene.layout.GridPane;

import javafx.scene.layout.Pane;

import javafx.scene.layout.Priority;

import javafx.scene.layout.VBox;

import javafx.scene.web.WebEngine;

import javafx.scene.web.WebView;

import javafx.stage.Stage;

none of this happened with the sample, but only in my project. Other imports are working for my project just not this list. Please tell me how to fix it. I am using Netbeans 1.7.2 and trying to make the webviewbrowser work in another jar. Thanks!

1 Answer

Relevance
  • Anonymous
    9 years ago
    Favorite Answer

    Report this problem to the programming service to get things fixed.

Still have questions? Get your answers by asking now.