Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

andrei-punko/swing-app-google-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swing-based desktop app to make Google search (Test task)

Java CI with Maven Coverage Branches

Task definition

  1. Try to develop desktop application which consists of form with:

    • Input field (JTextField)
    • Search button (JButton)
    • Table (JTable)
  2. After press on Search button we need to get result page from Google by entered into input field phrase (for example https://www.google.com/search?q=open+source for phrase open source)

  3. Get 10 result urls from this page and put them into table

*) If you want to avoid UI hanging - make data extraction in separate thread, not in Swing thread

**) If you want, make results in table for different phrases visually different
(results gotten by same phrase will be overwritten)

Hint: to get page from Google you could use this code from Stackoverflow

Prerequisites:

  • Maven 3
  • JDK 17

About

Swing-based desktop app to make Google search

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages