JComponent createPanel() {
		JPanel panel = new JPanel(new VerticalLayout(10));

		if (!vertexButtons.isEmpty()) {
			JPanel vertexPanel = new JPanel(new VerticalLayout(5));
			vertexPanel.setBorder(BorderFactory.createTitledBorder(VERTEX_TITLE));
			vertexButtons.forEach(vertexPanel::add);
			vertexPanel.getAccessibleContext().setAccessibleName("Vertex");
			panel.add(vertexPanel);
		}
		if (!edgeButtons.isEmpty()) {
			JPanel edgePanel = new JPanel(new VerticalLayout(5));
			edgePanel.setBorder(BorderFactory.createTitledBorder(EDGE_TITLE));
			edgeButtons.forEach(edgePanel::add);
			edgePanel.getAccessibleContext().setAccessibleName("Edge");
			panel.add(edgePanel);
		}

		if (vertexButtons.isEmpty() && edgeButtons.isEmpty()) {

			JLabel label = new JLabel("No Filters available for this graph!");
			label.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
			label.getAccessibleContext().setAccessibleName("No Filter");
			panel.add(label);
		}
		panel.getAccessibleContext().setAccessibleName("Filter");
		return panel;
	}
Create a layout-formatted JComponent holding 2 vertical lists
of buttons, one list for vertex filter buttons and one list for
edge filter buttons. Each list has a border and title.
@return a formatted JComponent (container)
Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/FilterDialog.java