Java files/PriceItem.java
private void goToWebsite() {
		
		try {
		if (Desktop.isDesktopSupported()){
			Desktop.getDesktop().browse(new URI(html));
		}
		}
		catch (Exception e) {
			JOptionPane.showMessageDialog(parentPanel, "Error opening Web Broswer.", "Web Broswer Error", JOptionPane.ERROR_MESSAGE);
		}
		
	}
//open up website in new browser
open up website in new browser
open up website in new browser
private void goToWebsite() {
		try {
		if (Desktop.isDesktopSupported()){
			Desktop.getDesktop().browse(new URI(html));
		}
		}
		catch (Exception e) {
			JOptionPane.showMessageDialog(parentPanel, "Error opening Web Broswer.", "Web Broswer Error", JOptionPane.ERROR_MESSAGE);
		}
	}
private void goToWebsite ( ) { try { if ( Desktop . isDesktopSupported ( ) ) { Desktop . getDesktop ( ) . browse ( new URI ( html ) ) ; } } catch ( Exception e ) { JOptionPane . showMessageDialog ( parentPanel , "Error opening Web Broswer." , "Web Broswer Error" , JOptionPane . ERROR_MESSAGE ) ; } }
open up website in new browser
open up website in new browser