100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Exam (elaborations)

CS-250 Software Development Lifecycle – 3-3 Assignment Developing Basic ListView Control, SNHU (2026)

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
18-01-2026
Written in
2025/2026

This document contains the CS-250 Software Development Lifecycle 3-3 assignment from Southern New Hampshire University, focused on developing a basic ListView control using Java Swing. It demonstrates the use of JList, custom list cell renderers, images, and GUI layout management to display a top five destination list with text and icons. The assignment showcases foundational GUI programming concepts aligned with object-oriented design and event-driven development.

Show more Read less
Institution
CS-250 Software Development Lifecycle
Course
CS-250 Software Development Lifecycle








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS-250 Software Development Lifecycle
Course
CS-250 Software Development Lifecycle

Document information

Uploaded on
January 18, 2026
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;

public class TopFiveDestinationList {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
TopDestinationListFrame topDestinationListFrame = new
TopDestinationListFrame();
topDestinationListFrame.setTitle("Top 5 Destination List");
topDestinationListFrame.setVisible(true);
}
});
}
}


class TopDestinationListFrame extends JFrame {
private DefaultListModel listModel;

public TopDestinationListFrame() {
super("Top Five Destination List");

setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
setSize(900, 750);

listModel = new DefaultListModel();


//Make updates to your top 5 list below. Import the new image files to
resources directory.
addDestinationNameAndPicture("1. Paris. Paris offers iconic landmarks,
romantic scenery, and world class art that make it one of the most visited cities
in the world", new ImageIcon(getClass().getResource("/resources/paris.jpg")));
addDestinationNameAndPicture("2. Tokyo. Blends ancient traditions with
futuristic technology, offering vibrant nightlife,cuisine, and culture", new
ImageIcon(getClass().getResource("/resources/tokyo.jpg")));
addDestinationNameAndPicture("3. New York. A global hub of entertainmet,
culture, and skycrappers, attracting millions of visitors each year", new
ImageIcon(getClass().getResource("/resources/newyork.jpg")));
addDestinationNameAndPicture("4. Dubai. It features stunning modern
architecture and luxury attractions, including the world famous Burj Khalifa", new
ImageIcon(getClass().getResource("/resources/dubai.jpg")));
addDestinationNameAndPicture("5. Capetown. It is a known for its
breathtaking landscapes, beaches, and iconic Table mountain", new
ImageIcon(getClass().getResource("/resources/capetown.jpg")));

JList list = new JList(listModel);
JScrollPane scrollPane = new JScrollPane(list);

TextAndIconListCellRenderer renderer = new TextAndIconListCellRenderer(2);

list.setCellRenderer(renderer);

getContentPane().add(scrollPane, BorderLayout.CENTER);
}

private void addDestinationNameAndPicture(String text, Icon icon) {

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TestbanksNerd Ohio State University College Of Medicine
View profile
Follow You need to be logged in order to follow users or courses
Sold
71
Member since
1 year
Number of followers
0
Documents
429
Last sold
22 hours ago
TestBanks Nerd

Welcome to TestBanks Nerd – the ultimate hub for academic resources. Here, you’ll find a wide selection of test banks, solution manuals, study notes, lecture summaries, practice exams, and past papers carefully curated to help students succeed. Whether you’re preparing for an exam, revising core concepts, or looking for step-by-step solutions, this store provides accurate, reliable, and exam-focused materials across multiple subjects and editions. At TestBanks Nerd, we make studying smarter, faster, and easier.

Read more Read less
3.8

12 reviews

5
6
4
1
3
2
2
2
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions