TodayPanel() { super(new FlowLayout()); setBackgroundPainter(new MattePainter(new GradientPaint(0, 0, new Color(238, 238, 238), 0, 1, Color.WHITE))); todayAction = new TodayAction(); todayLink = new JXHyperlink(todayAction); todayLink.addMouseListener(createDoubleClickListener()); Color textColor = new Color(16, 66, 104); todayLink.setUnclickedColor(textColor); todayLink.setClickedColor(textColor); add(todayLink); }
TodayPanel() { super(new FlowLayout()); setBackgroundPainter(new MattePainter(new GradientPaint(0, 0, new Color(238, 238, 238), 0, 1, Color.WHITE))); todayAction = new TodayAction(); todayLink = new JXHyperlink(todayAction); todayLink.addMouseListener(createDoubleClickListener()); Color textColor = new Color(16, 66, 104); todayLink.setUnclickedColor(textColor); todayLink.setClickedColor(textColor); add(todayLink); }
TodayPanel() { super(new FlowLayout()); setBackgroundPainter(new MattePainter(new GradientPaint(0, 0, new Color(238, 238, 238), 0, 1, Color.WHITE))); todayAction = new TodayAction(); todayLink = new JXHyperlink(todayAction); todayLink.addMouseListener(createDoubleClickListener()); Color textColor = new Color(16, 66, 104); todayLink.setUnclickedColor(textColor); todayLink.setClickedColor(textColor); add(todayLink); }
TodayPanel() { super(new FlowLayout()); setBackgroundPainter(new MattePainter(new GradientPaint(0, 0, new Color(238, 238, 238), 0, 1, Color.WHITE))); todayAction = new TodayAction(); todayLink = new JXHyperlink(todayAction); todayLink.addMouseListener(createDoubleClickListener()); Color textColor = new Color(16, 66, 104); todayLink.setUnclickedColor(textColor); todayLink.setClickedColor(textColor); add(todayLink); }
TodayPanel() { super(new FlowLayout()); setBackgroundPainter(new MattePainter(new GradientPaint(0, 0, new Color(238, 238, 238), 0, 1, Color.WHITE))); todayAction = new TodayAction(); todayLink = new JXHyperlink(todayAction); todayLink.addMouseListener(createDoubleClickListener()); Color textColor = new Color(16, 66, 104); todayLink.setUnclickedColor(textColor); todayLink.setClickedColor(textColor); add(todayLink); }