package gradertool.charts; import javax.swing.*; import java.awt.*; import java.awt.event.*; /** * HistoricalTrends GUI that represents section 2.6.4 of the requirements. */ public class HistoricalTrends extends JFrame { /** * Constructor of historical trends GUI */ public HistoricalTrends() { Box whole = new Box(BoxLayout.Y_AXIS); Box filler = new Box(BoxLayout.X_AXIS); filler.setMaximumSize(new Dimension(500, 23)); Box image = new Box(BoxLayout.X_AXIS); Box checker = new Box(BoxLayout.X_AXIS); ImageIcon im = new ImageIcon("gradertool/charts/images/historical_trends_proto.jpg"); JLabel imLab = new JLabel(im); image.add(imLab); whole.add(image); add(whole); setSize(new Dimension(927, 800)); setTitle("Historical Trends--CPE 308"); setVisible(true); } }