Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java programm Build a JavaFX application with a graphical user interface. This application should contain an input field for a title and a Search button.

java programm

Build a JavaFX application with a graphical user interface. This application should contain an input field for a title and a "Search" button. As soon as the button Search or the ENTER button is pressed appears at the bottom of the application the synopsis of a book as contained in Wikibooks. To do this, use this JavaFX WebView dialog element.

Read the example in the online help or to the WebView through JavaFX 11-->WebView .html and act accordingly. The Wikibooks is wikibooks-->wiki-->

. You can initialize the browser dialog element by calling the initialize() method of your FXML file as follows speak to. WebEngine engine = webView.getEngine(); engine.load("wikibooks-->wiki--> <title>"); Your program should respond to a mouse click and the ENTER key (especially if you input field is pressed). So you need to process two events (TextField and buttons). Both EventHandlers must then load and display the corresponding Wikibooks page <p>Your program should contain the following classes:</p> <p> </p> <p><img alt="image text in transcribed" src="https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f008f885b93_96866f008f82cb2c.jpg" style="height:392px; width:315px"></p> <p>The WikiBooks class encapsulates knowledge of the URL format for Wikibooks titles. we We will use other methods in this class in the course of the following exercises to implement. The underlined method means it's a static one method acts. The class diagram is intended to give you ideas on how to sensibly organize your program in be able to structure individual classes and methods. If you have one in your program use a different structure, this does not have to be an error. Understand the ones pictured here Methods please only as a suggestion. However: You must not do everything that your program write in one or two "giant" methods. That would be bad to maintain. Try like this to avoid duplicate program code as much as possible. The navigateBrowser method is an example of a method written to to avoid duplicate program code. It only contains two in a sample solution lines. Still, it makes sense to put those two lines in an extra method instead to implement them multiple times (in EventHandlers).</p>

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 22nd International Conference Dexa 2011 Toulouse France August/September 2011 Proceedings Part 1 Lncs 6860

Authors: Abdelkader Hameurlain ,Stephen W. Liddle ,Klaus-Dieter Schewe ,Xiaofang Zhou

2011th Edition

3642230873, 978-3642230875

Students also viewed these Databases questions

Question

9. Describe the characteristics of power.

Answered: 1 week ago