At a loss on where to go on this code
I am trying to write program that computes fahrenheit into celcius with input from a dialog box. Here is what I have so far. I have tried other things but nothing work and I am at my wits end.
Please help.
// ComputeCelsius.java: Convert Fahrenheit into Celsius
import javax.swing.JOptionPane;
public class ComputeCelsius {
/** Main Method*/
public static void main(String[] args) {
double fahrenheit; // Amount entered from the keyboard
//Recieve the amount entered into the keyboard
String fahrenheitString = JOptionPane.showInputDialog(null,
"Enter fahrenheit","for example 99",
JOptionPane.QUESTION_MESSAGE);
// Convert string to double
fahrenheit = Double.parseDouble(fahrenheitString);
// Compute celcius
Celsius = (5.0/ 9) * (fahrenheit - 32);
//Display the result in a message dialog box
JOptionPane.showInputDialog(null,
fahrenheit + " celsius
}
The DecimalFormat class is a way to control the appearance of the double Celsius that you show, especially the number of decimal places.
import javax.swing.JOptionPane;
public class dlmlucas {
/** Main Method*/
public static void main(String[] args) {
double fahrenheit; // Amount entered from the keyboard
//Recieve the amount entered into the keyboard
String fahrenheitString = JOptionPane.showInputDialog(null,
"Enter fahrenheit","for example 99",
JOptionPane.QUESTION_MESSAGE);
// Convert string to double
try {
fahrenheit = Double.parseDouble(fahrenheitString);
catch(NumberFormatException nfe) {
System.out.println("NFE: " + nfe.getMessage());
// error recovery code goes here
return;
// Compute celcius
double Celsius = (5.0/ 9) * (fahrenheit - 32);
//Display the result in a message dialog box
JOptionPane.showMessageDialog(null,
fahrenheit + " degrees fahrenheit = " +
Celsius + " degrees celsius.",
"Conversion",
JOptionPane.INFORMATION_MESSAGE);
System.exit(0);
}
Similar Messages
-
i m login in th my iphone in the itune ti download something after entering cc details its asking about something itune gift card secure code...i am not getting this..where can i get this code in order to dowanload frm itune...
Meen0902 wrote:
... after entering cc details its asking about something itune gift card secure code...i
Try the 3 or 4 digit code on the back of your Credit Card.... -
I want to install WhatsApp on my iphone 16gb, but I need a code of 3 figures! Where can I get this code? i tried looking at my messages folder, but i havent got any 3 digit code. plz help
post in the iPhone forum : https://discussions.apple.com/community/iphone/using_iphone
-
Where do i punch the code # for the Airplay that appears on the TV screen?
On your mobile device. Or you can disable it via Apple TV settings.
-
Where shall I put this code?
Having problems adding the following code:
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery-1.4.2.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.core.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.widget.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.tabs.min.js" type="text/javascript"></script>
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.core.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* BeginOAWidget_Instance_2140022: #jQueryTabs */
#jQueryTabs.ui-tabs .ui-tabs-panel {
display: block;
border: 0px solid #aaaaaa;
padding: 1ex 1.4em;
background: #003366;
font-family: inherit;
font-size: 0.8em/*{fsDefault}*/;
/* Component containers
#jQueryTabs .ui-widget {
#jQueryTabs .ui-widget-content {
border: 1px solid #aaaaaa/*{borderColorContent}*/;
background: #ffffff/*{bgColorContent}*/ url()/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
color: #ffffff/*{fcContent}*/;
#jQueryTabs .ui-widget-content a {
color: #0000ff/*{fcContent}*/;
#jQueryTabs .ui-widget-header {
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
background: #000066/*{bgColorHeader}*/ url()/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/;
font-weight: bold;
font-family: Verdana, Geneva, sans-serif;
font-size: 0.8em/*{fsDefault}*/;
/* Interaction states
#jQueryTabs .ui-state-default, .ui-widget-content .ui-state-default {
border: 1px solid #ffffff/*{borderColorDefault}*/;
background: #003366/*{bgColorDefault}*/ url()/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #555555 /*{fcDefault}*/;
#jQueryTabs .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #ffffff/*{fcDefault}*/;
text-decoration: none;
#jQueryTabs .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
border: 1px solid #999999/*{borderColorHover}*/;
background: #ff9900/*{bgColorHover}*/ url()/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121 /*{fcHover} #212121*/;
font-family: inherit;
font-size: inherit/*{fsHover}*/;
#jQueryTabs .ui-state-hover a, .ui-state-hover a:hover {
color: #212121/*{fcHover}*/;
text-decoration: none;
#jQueryTabs .ui-state-active, .ui-widget-content .ui-state-active {
border: 1px solid #aaaaaa/*{borderColorActive}*/;
background: #ff6600/*{bgColorActive}*/ url()/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121/*{fcActive}*/;
font-family: inherit;
font-size: inherit/*{fsSelected}*/;
#jQueryTabs .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
color: #212121/*{fcActive}*/;
text-decoration: none;
/* EndOAWidget_Instance_2140022 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2140022" binding="#jQueryTabs" />
</oa:widgets>
-->
</script>
</head>
<body>
<script type="text/javascript">
// BeginOAWidget_Instance_2140022: #jQueryTabs
$(function() {
$("#jQueryTabs").tabs({
event:"click",
collapsible: false,
selected:'0',
fx: { opacity: 'none', duration: 1 }
}).tabs( "none" , 1 , false );
// EndOAWidget_Instance_2140022
</script>
<div id="jQueryTabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#tabs-2">Proin dolor</a></li>
<li><a href="#tabs-3">Aenean lacinia</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
</div>
<div id="tabs-2">
<p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</body>
</html>
I am trying to add it to the index.html page (where it says nbsp...)
<p>nbsp;</p></td> (add an "&" symbol before nbsp and CTRL + F to find it in the below code)
Code for index.html is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<style type="text/css">
/*<![CDATA[*/
.style1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
color: #000;
background-color: #e3e3e3;
margin: 0px;
padding: 0px;
body,td,th {
font-size: 11px;
/*]]>*/
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 1048px;
top: 376px;
#apDiv2 {
position:absolute;
width:272px;
height:115px;
z-index:2;
left: 764px;
top: 456px;
body,td,th {
color: #F00;
body {
background-repeat: repeat-x;
</style>
<link href="Spry-UI-1.7/css/ContentSlideShow/wanderlust/wanderlust-brown.css" rel="stylesheet" type="text/css" />
<script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryContentSlideShow.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="141" binding="#ImageSlideShow" />
<oa:widget wid="2141541" binding="#ImageSlideShow_2" />
<oa:widget wid="2141541" binding="#ImageSlideShow_3" />
<oa:widget wid="2141541" binding="#ImageSlideShow_4" />
<oa:widget wid="2567023" binding="#OAWidget" />
</oa:widgets>
-->
</script>
<link href="SpryAssets/SpryStackedContainers.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="Scripts/swfobject_modified.js" type="text/javascript">
</script>
<script src="includes/jquery-1.4.2.js" type="text/javascript">
</script>
<script src="jQuery/js/jquery.jsocial.js" type="text/javascript">
</script>
<link href="jQuery/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/xml">
<![CDATA[
<!--
<oa:widgets>
<oa:widget wid="2149023" binding="#social" />
</oa:widgets>
-->
]]>
</script>
<style type="text/css">
/*<![CDATA[*/
body.c9 {background-color:#e3e3e3}
table.c8 {background-color: #E3E3E3}
p.c7 {color: #c3c3c3; font-size: 14px; text-align: center}
p.c6 {text-align: center}
table.c5 {background-color: #FFFFFF}
table.c4 {background-color:#FFFFFF}
table.c3 {font-size: 14px}
tr.c2 {background-image:url(images/img02.jpg)}
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body class="c9">
<table width="740" align="center">
<tr>
<td width="740">
<div class="c1"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="709" height="202"><param name="movie" value="images/banner.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="images/banner.swf" width="709" height="202"><!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>--></object> <!--<![endif]--></object></div>
</td>
</tr>
</table>
<table class="c3" width="950" align="center" cellpadding="0" cellspacing="0">
<tr class="c2" align="center">
<td width="100"><a href="index.html">Home</a></td>
<td width="100"><a href="About%20Us.html">About Us</a></td>
<td width="100"><a href="Flights%20and%20Timetables.html">Flights & Timetables</a></td>
<td width="100"><a href="Manage%20My%20Bookings.html">Manage My Booking</a></td>
<td width="100"><a href="Hotels.html">Hotels</a></td>
<td width="100"><a href="FAQs.html">FAQs</a></td>
<td width="100"><a href="Careers.html">Careers</a></td>
<td width="100"><a href="Contact%20Us.html">Contact Us</a></td>
</tr>
</table>
<table align="center" width="950" class="c4" cellpadding="0" cellspacing="0">
<tr>
<td>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="950" height="500" align="left" valign="top"><!-- InstanceBeginEditable name="Content" -->
<table width="178" border="5" align="left">
<tr>
<td height="23" colspan="3" align="left" valign="top" nowrap="nowrap" bgcolor="#FF6600"><h3>Create a Trip </h3></td>
</tr>
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#003366"><h3>
<input type="radio" name="radio" id="radio" value="radio" />
Flights<br />
<input type="radio" name="radio" id="radio2" value="radio" />
Hotels </h3>
<h3>Country of Departure
<label for="select"></label>
<br />
<select name="select" id="select">
<option>United Kingdom</option>
<option>Spain</option>
</select>
</h3>
<h3>From<br />
<label for="select2"></label>
<select name="select2" id="select2">
<option>London</option>
<option>Nottingham</option>
<option>Birmingham</option>
</select>
</h3>
<h3>To<br />
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
</h3>
<h3>Depart<br />
<input name="DD/MM/YY" type="text" id="DD/MM/YY" value="DDMMYY" maxlength="6" />
<label for="checkbox"></label>
One Way Only
<input type="checkbox" name="checkbox" id="checkbox" />
<br />
<br />
Return<br />
<input name="DD/MM/YY2" type="text" id="DD/MM/YY2" value="DDMMYY" maxlength="6" />
My dates are fixed
<input type="checkbox" name="checkbox2" id="checkbox2" />
</h3>
<h3>Flight Class<br />
<select name="select3" size="1" id="select3">
<option>Economy</option>
</select>
</h3>
<h3>Ticket Type<br />
<input type="radio" name="radio3" id="radio3" value="radio3" />
<label for="radio3"></label>
Lowest Price<br />
<input type="radio" name="radio3" id="radio4" value="radio3" />
Flexible Conditions </h3>
<h3>Adults<br />
<select name="select4" size="1" id="select4">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br />
<br />
Children <br />
<select name="select5" size="1" id="select5">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</h3>
<h3 align="left">Infants<br />
<select name="select6" size="1" id="select6">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br /></h3>
<div align="right">
<input type="submit" name="Get Flights" id="GetFlights" value="Get Flights"/>
</div></td>
</tr>
</table>
<table width="539" border="0" align="left" cellpadding="1" cellspacing="1">
<tr valign="top">
<td colspan="3" align="center" valign="top"><div id="ImageSlideShow">
<div class="article">
<div class="photo">
<div class="caption">
<div id="ImageSlideShow_2">
<div class="article">
<div class="photo">
<div id="ImageSlideShow_3">
<div class="article">
<div class="photo">
<script type="text/javascript">
</script>
<div id="ImageSlideShow_4">
<div class="article">
<div class="photo"> <img src="images/hpimg1.jpg" alt="" width="300" height="300"/>
<div class="caption">San Francisco, CA</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Palace of Fine Arts</div>
<div class="subTitle">Flowers of Spring, California</div>
</div>
<div class="content">
<p>The Palace of Fine Arts was initially built for the Pan-Pacific Exposition in the 1930s, heralding San Francisco's rebirth after the 1906 earthquake.</p>
<button type="button"><span><span><span>Click for Details</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg2.jpg" alt="" width="300" height="300"/>
<div class="caption">Horses</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County, California</div>
<div class="subTitle">Bay Area's Best Secret</div>
</div>
<div class="content">
<p>A few short miles from downtown San Francisco, horses roam in the fields of Marin County, California.</p>
<button type="button"><span><span><span>More Info</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg3.jpg" alt="" width="300" height="300"/>
<div class="caption">Open Space</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County</div>
<div class="subTitle">Parkland</div>
</div>
<div class="content">
<p>Marin County is blessed with acres of open spaces, both public and private. </p>
<button type="button"><span><span><span>Get Packing!</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg4.jpg" alt="" width="300" height="300" />
<div class="caption">Orchids</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Flower Garden</div>
<div class="subTitle">Flora tour in Golden Gate Park</div>
</div>
<div class="content">
<p>Orchids from all over the world can be seen in the Arboretum in Golden Gate Park.</p>
<button type="button"><span><span><span>Find out More!</span></span></span></button>
</div>
</div>
</div>
</div>
<script type="text/javascript">
// BeginOAWidget_Instance_2141541: #ImageSlideShow_4
var ImageSlideShow_4 = new Spry.Widget.ContentSlideShow("#ImageSlideShow_4", {
widgetClass: "WLBSlideShow",
displayInterval: 4000,
transitionDuration: 2000
// EndOAWidget_Instance_2141541
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></td>
</tr>
<tr valign="top">
<td colspan="3" align="center" valign="top" bgcolor="#000033">Discover the latest offers</td>
</tr>
<tr valign="top">
<td align="center" valign="top" bgcolor="#CC9900"><img src="images/hpimg6.jpg" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#0000FF"><img src="images/hpimg7.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#666666"><img src="images/hpimg8.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
</tr>
<tr valign="top">
<td width="200" align="center" valign="top" bgcolor="#CC9900">Last Minute Offers</td>
<td width="200" align="center" valign="top" bgcolor="#0000FF">Luxury Holidays</td>
<td width="200" align="center" valign="top" bgcolor="#666666">Most Popular Holidays</td>
</tr>
<tr valign="top">
<td colspan="3" bgcolor="#FFFFFF">
<p> </p></td>
</tr>
</table>
<table width="178" border="1" align="right">
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#FFFFFF">news feed
<script type="text/javascript">
</script></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</td>
</tr>
</table>
<table class="c5" align="center" width="950">
<tr>
<td></td>
</tr>
</table>
<table class="c8" align="center" width="950">
<tr>
<td>
<p class="c6"><strong><a href="index.html">Home</a> | <a href="Terms%20and%20Conditions.html">General Terms & Conditions</a> | <a href="FAQs.html">FAQs</a> | Contact Us | Site Map. This website is only for my college work, none of the content is accruate</strong><strong><br /></strong></p>
<div class="social"></div>
<script type="text/javascript">
//<![CDATA[
// BeginOAWidget_Instance_2149023: #social
$('.social').jsocial({
facebook : 'facebook.com/myID',
twitter : 'myID',
center : true,
inline : true,
small : true,
newPage : false
// EndOAWidget_Instance_2149023
//]]>
</script>
<p class="c6"><strong><br /></strong></p>
<p class="c7"> </p>
</td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
swfobject.registerObject("FlashID");
//]]>
</script>
</body>
<!-- InstanceEnd --></html>Having problems adding the following code:
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery-1.4.2.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.core.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.widget.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.tabs.min.js" type="text/javascript"></script>
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.core.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* BeginOAWidget_Instance_2140022: #jQueryTabs */
#jQueryTabs.ui-tabs .ui-tabs-panel {
display: block;
border: 0px solid #aaaaaa;
padding: 1ex 1.4em;
background: #003366;
font-family: inherit;
font-size: 0.8em/*{fsDefault}*/;
/* Component containers
#jQueryTabs .ui-widget {
#jQueryTabs .ui-widget-content {
border: 1px solid #aaaaaa/*{borderColorContent}*/;
background: #ffffff/*{bgColorContent}*/ url()/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
color: #ffffff/*{fcContent}*/;
#jQueryTabs .ui-widget-content a {
color: #0000ff/*{fcContent}*/;
#jQueryTabs .ui-widget-header {
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
background: #000066/*{bgColorHeader}*/ url()/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/;
font-weight: bold;
font-family: Verdana, Geneva, sans-serif;
font-size: 0.8em/*{fsDefault}*/;
/* Interaction states
#jQueryTabs .ui-state-default, .ui-widget-content .ui-state-default {
border: 1px solid #ffffff/*{borderColorDefault}*/;
background: #003366/*{bgColorDefault}*/ url()/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #555555 /*{fcDefault}*/;
#jQueryTabs .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #ffffff/*{fcDefault}*/;
text-decoration: none;
#jQueryTabs .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
border: 1px solid #999999/*{borderColorHover}*/;
background: #ff9900/*{bgColorHover}*/ url()/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121 /*{fcHover} #212121*/;
font-family: inherit;
font-size: inherit/*{fsHover}*/;
#jQueryTabs .ui-state-hover a, .ui-state-hover a:hover {
color: #212121/*{fcHover}*/;
text-decoration: none;
#jQueryTabs .ui-state-active, .ui-widget-content .ui-state-active {
border: 1px solid #aaaaaa/*{borderColorActive}*/;
background: #ff6600/*{bgColorActive}*/ url()/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121/*{fcActive}*/;
font-family: inherit;
font-size: inherit/*{fsSelected}*/;
#jQueryTabs .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
color: #212121/*{fcActive}*/;
text-decoration: none;
/* EndOAWidget_Instance_2140022 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2140022" binding="#jQueryTabs" />
</oa:widgets>
-->
</script>
</head>
<body>
<script type="text/javascript">
// BeginOAWidget_Instance_2140022: #jQueryTabs
$(function() {
$("#jQueryTabs").tabs({
event:"click",
collapsible: false,
selected:'0',
fx: { opacity: 'none', duration: 1 }
}).tabs( "none" , 1 , false );
// EndOAWidget_Instance_2140022
</script>
<div id="jQueryTabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#tabs-2">Proin dolor</a></li>
<li><a href="#tabs-3">Aenean lacinia</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
</div>
<div id="tabs-2">
<p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</body>
</html>
I am trying to add it to the index.html page (where it says nbsp...)
<p>nbsp;</p></td> (add an "&" symbol before nbsp and CTRL + F to find it in the below code)
Code for index.html is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<style type="text/css">
/*<![CDATA[*/
.style1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
color: #000;
background-color: #e3e3e3;
margin: 0px;
padding: 0px;
body,td,th {
font-size: 11px;
/*]]>*/
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 1048px;
top: 376px;
#apDiv2 {
position:absolute;
width:272px;
height:115px;
z-index:2;
left: 764px;
top: 456px;
body,td,th {
color: #F00;
body {
background-repeat: repeat-x;
</style>
<link href="Spry-UI-1.7/css/ContentSlideShow/wanderlust/wanderlust-brown.css" rel="stylesheet" type="text/css" />
<script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryContentSlideShow.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="141" binding="#ImageSlideShow" />
<oa:widget wid="2141541" binding="#ImageSlideShow_2" />
<oa:widget wid="2141541" binding="#ImageSlideShow_3" />
<oa:widget wid="2141541" binding="#ImageSlideShow_4" />
<oa:widget wid="2567023" binding="#OAWidget" />
</oa:widgets>
-->
</script>
<link href="SpryAssets/SpryStackedContainers.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="Scripts/swfobject_modified.js" type="text/javascript">
</script>
<script src="includes/jquery-1.4.2.js" type="text/javascript">
</script>
<script src="jQuery/js/jquery.jsocial.js" type="text/javascript">
</script>
<link href="jQuery/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/xml">
<![CDATA[
<!--
<oa:widgets>
<oa:widget wid="2149023" binding="#social" />
</oa:widgets>
-->
]]>
</script>
<style type="text/css">
/*<![CDATA[*/
body.c9 {background-color:#e3e3e3}
table.c8 {background-color: #E3E3E3}
p.c7 {color: #c3c3c3; font-size: 14px; text-align: center}
p.c6 {text-align: center}
table.c5 {background-color: #FFFFFF}
table.c4 {background-color:#FFFFFF}
table.c3 {font-size: 14px}
tr.c2 {background-image:url(images/img02.jpg)}
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body class="c9">
<table width="740" align="center">
<tr>
<td width="740">
<div class="c1"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="709" height="202"><param name="movie" value="images/banner.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="images/banner.swf" width="709" height="202"><!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>--></object> <!--<![endif]--></object></div>
</td>
</tr>
</table>
<table class="c3" width="950" align="center" cellpadding="0" cellspacing="0">
<tr class="c2" align="center">
<td width="100"><a href="index.html">Home</a></td>
<td width="100"><a href="About%20Us.html">About Us</a></td>
<td width="100"><a href="Flights%20and%20Timetables.html">Flights & Timetables</a></td>
<td width="100"><a href="Manage%20My%20Bookings.html">Manage My Booking</a></td>
<td width="100"><a href="Hotels.html">Hotels</a></td>
<td width="100"><a href="FAQs.html">FAQs</a></td>
<td width="100"><a href="Careers.html">Careers</a></td>
<td width="100"><a href="Contact%20Us.html">Contact Us</a></td>
</tr>
</table>
<table align="center" width="950" class="c4" cellpadding="0" cellspacing="0">
<tr>
<td>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="950" height="500" align="left" valign="top"><!-- InstanceBeginEditable name="Content" -->
<table width="178" border="5" align="left">
<tr>
<td height="23" colspan="3" align="left" valign="top" nowrap="nowrap" bgcolor="#FF6600"><h3>Create a Trip </h3></td>
</tr>
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#003366"><h3>
<input type="radio" name="radio" id="radio" value="radio" />
Flights<br />
<input type="radio" name="radio" id="radio2" value="radio" />
Hotels </h3>
<h3>Country of Departure
<label for="select"></label>
<br />
<select name="select" id="select">
<option>United Kingdom</option>
<option>Spain</option>
</select>
</h3>
<h3>From<br />
<label for="select2"></label>
<select name="select2" id="select2">
<option>London</option>
<option>Nottingham</option>
<option>Birmingham</option>
</select>
</h3>
<h3>To<br />
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
</h3>
<h3>Depart<br />
<input name="DD/MM/YY" type="text" id="DD/MM/YY" value="DDMMYY" maxlength="6" />
<label for="checkbox"></label>
One Way Only
<input type="checkbox" name="checkbox" id="checkbox" />
<br />
<br />
Return<br />
<input name="DD/MM/YY2" type="text" id="DD/MM/YY2" value="DDMMYY" maxlength="6" />
My dates are fixed
<input type="checkbox" name="checkbox2" id="checkbox2" />
</h3>
<h3>Flight Class<br />
<select name="select3" size="1" id="select3">
<option>Economy</option>
</select>
</h3>
<h3>Ticket Type<br />
<input type="radio" name="radio3" id="radio3" value="radio3" />
<label for="radio3"></label>
Lowest Price<br />
<input type="radio" name="radio3" id="radio4" value="radio3" />
Flexible Conditions </h3>
<h3>Adults<br />
<select name="select4" size="1" id="select4">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br />
<br />
Children <br />
<select name="select5" size="1" id="select5">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</h3>
<h3 align="left">Infants<br />
<select name="select6" size="1" id="select6">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br /></h3>
<div align="right">
<input type="submit" name="Get Flights" id="GetFlights" value="Get Flights"/>
</div></td>
</tr>
</table>
<table width="539" border="0" align="left" cellpadding="1" cellspacing="1">
<tr valign="top">
<td colspan="3" align="center" valign="top"><div id="ImageSlideShow">
<div class="article">
<div class="photo">
<div class="caption">
<div id="ImageSlideShow_2">
<div class="article">
<div class="photo">
<div id="ImageSlideShow_3">
<div class="article">
<div class="photo">
<script type="text/javascript">
</script>
<div id="ImageSlideShow_4">
<div class="article">
<div class="photo"> <img src="images/hpimg1.jpg" alt="" width="300" height="300"/>
<div class="caption">San Francisco, CA</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Palace of Fine Arts</div>
<div class="subTitle">Flowers of Spring, California</div>
</div>
<div class="content">
<p>The Palace of Fine Arts was initially built for the Pan-Pacific Exposition in the 1930s, heralding San Francisco's rebirth after the 1906 earthquake.</p>
<button type="button"><span><span><span>Click for Details</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg2.jpg" alt="" width="300" height="300"/>
<div class="caption">Horses</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County, California</div>
<div class="subTitle">Bay Area's Best Secret</div>
</div>
<div class="content">
<p>A few short miles from downtown San Francisco, horses roam in the fields of Marin County, California.</p>
<button type="button"><span><span><span>More Info</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg3.jpg" alt="" width="300" height="300"/>
<div class="caption">Open Space</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County</div>
<div class="subTitle">Parkland</div>
</div>
<div class="content">
<p>Marin County is blessed with acres of open spaces, both public and private. </p>
<button type="button"><span><span><span>Get Packing!</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg4.jpg" alt="" width="300" height="300" />
<div class="caption">Orchids</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Flower Garden</div>
<div class="subTitle">Flora tour in Golden Gate Park</div>
</div>
<div class="content">
<p>Orchids from all over the world can be seen in the Arboretum in Golden Gate Park.</p>
<button type="button"><span><span><span>Find out More!</span></span></span></button>
</div>
</div>
</div>
</div>
<script type="text/javascript">
// BeginOAWidget_Instance_2141541: #ImageSlideShow_4
var ImageSlideShow_4 = new Spry.Widget.ContentSlideShow("#ImageSlideShow_4", {
widgetClass: "WLBSlideShow",
displayInterval: 4000,
transitionDuration: 2000
// EndOAWidget_Instance_2141541
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></td>
</tr>
<tr valign="top">
<td colspan="3" align="center" valign="top" bgcolor="#000033">Discover the latest offers</td>
</tr>
<tr valign="top">
<td align="center" valign="top" bgcolor="#CC9900"><img src="images/hpimg6.jpg" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#0000FF"><img src="images/hpimg7.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#666666"><img src="images/hpimg8.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
</tr>
<tr valign="top">
<td width="200" align="center" valign="top" bgcolor="#CC9900">Last Minute Offers</td>
<td width="200" align="center" valign="top" bgcolor="#0000FF">Luxury Holidays</td>
<td width="200" align="center" valign="top" bgcolor="#666666">Most Popular Holidays</td>
</tr>
<tr valign="top">
<td colspan="3" bgcolor="#FFFFFF">
<p> </p></td>
</tr>
</table>
<table width="178" border="1" align="right">
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#FFFFFF">news feed
<script type="text/javascript">
</script></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</td>
</tr>
</table>
<table class="c5" align="center" width="950">
<tr>
<td></td>
</tr>
</table>
<table class="c8" align="center" width="950">
<tr>
<td>
<p class="c6"><strong><a href="index.html">Home</a> | <a href="Terms%20and%20Conditions.html">General Terms & Conditions</a> | <a href="FAQs.html">FAQs</a> | Contact Us | Site Map. This website is only for my college work, none of the content is accruate</strong><strong><br /></strong></p>
<div class="social"></div>
<script type="text/javascript">
//<![CDATA[
// BeginOAWidget_Instance_2149023: #social
$('.social').jsocial({
facebook : 'facebook.com/myID',
twitter : 'myID',
center : true,
inline : true,
small : true,
newPage : false
// EndOAWidget_Instance_2149023
//]]>
</script>
<p class="c6"><strong><br /></strong></p>
<p class="c7"> </p>
</td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
swfobject.registerObject("FlashID");
//]]>
</script>
</body>
<!-- InstanceEnd --></html> -
Anyone also knows why this update is so ridiculously weird? Snap your bill, send us picture - looks so in contrary to Apple's core principle of simplicity! I'm very disappointed.
My guess would be to open the AppStore, then in the QuickLinks panel on the right of the first screen you should be able to choose Redeem to redeem a code.
AC -
I used trial pages then bought it but it says to enter code now, where do I find this?
can anyone help? I installed a trial pages on my mac book pro, I then purchased it online. When I now go to save something, it says to buy pages, that my trial has run out and to put in my code. Where do I get this code from as I worked on my document after my trail ran out and it was never asked for then?
You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user.
Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip. -
At a total loss with this code...
So i'm working on this applet for work and im lost. in the end, this will be a cash register type app thats integrated with our web database. as of right now, the code to download an html page works fine when run by itself, independent of the main class. but when the download PageDownload class is called from the sales class (the main class), i get this error:
register/sales.java [245:1] unreported exception java.lang.Exception; must be caught or declared to be thrown
pagey.main(null);
what's my problem?
-------------------------SALES.java----------------------------
* sales.java
* Created on December 6, 2003, 1:34 PM
package register;
import javax.swing.* ;
import java.util.*;
import java.lang.*;
import java.text.*;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableColumn;
import javax.swing.JComboBox.*;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.table.AbstractTableModel;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.net.*;
import java.io.*;
* @author Geoff
public class sales extends java.applet.Applet {
/** Initializes the applet sales */
public void init() {
initComponents();
//private boolean DEBUG = false;
//Set the lblDate to contain today's date in mm/dd/yy format
Date today;
String dateOut;
DateFormat dateFormatter;
dateFormatter = DateFormat.getDateInstance(DateFormat.SHORT);
today = new Date();
dateOut = dateFormatter.format(today);
lblDate.setText(dateOut);
//set up the payment method choice box
cmbPaymentMethod.add("American Express");
cmbPaymentMethod.add("Cash");
cmbPaymentMethod.add("Check");
cmbPaymentMethod.add("Discover");
cmbPaymentMethod.add("Gift Card");
cmbPaymentMethod.add("Master Card");
cmbPaymentMethod.add("Visa");
JTable table = new JTable(new MyTableModel());
table.setPreferredScrollableViewportSize(new Dimension(500, 70));
//Create the scroll pane and add the table to it.
JScrollPane scrollPane = new JScrollPane(table);
//Add the scroll pane to this panel.
add(scrollPane);
scrollPane.setBounds(0, 165, 600, 200);
scrollPane.setVisible(true);
TableColumn sysCol = table.getColumnModel().getColumn(0);
sysCol.setWidth(120);
sysCol.setMaxWidth(120);
TableColumn conCol = table.getColumnModel().getColumn(2);
conCol.setWidth(60);
conCol.setMaxWidth(60);
TableColumn qtyCol = table.getColumnModel().getColumn(3);
qtyCol.setWidth(40);
qtyCol.setMaxWidth(40);
TableColumn rateCol = table.getColumnModel().getColumn(4);
rateCol.setWidth(60);
rateCol.setMaxWidth(60);
TableColumn amtCol = table.getColumnModel().getColumn(5);
amtCol.setWidth(60);
amtCol.setMaxWidth(60);
class MyTableModel extends AbstractTableModel {
private String[] columnNames = {"System",
"Item",
"Contents",
"Qty.",
"Rate",
"Amount"};
private Object[][] data = {
public int getColumnCount() {
return columnNames.length;
public int getRowCount() {
return data.length;
public String getColumnName(int col) {
return columnNames[col];
public Object getValueAt(int row, int col) {
return data[row][col];
* JTable uses this method to determine the default renderer/
* editor for each cell. If we didn't implement this method,
* then the last column would contain text ("true"/"false"),
* rather than a check box.
public Class getColumnClass(int c) {
return getValueAt(0, c).getClass();
* Don't need to implement this method unless your table's
* editable.
public boolean isCellEditable(int row, int col) {
//Note that the data/cell address is constant,
//no matter where the cell appears onscreen.
if (col < 2) {
return false;
} else {
return true;
* Don't need to implement this method unless your table's
* data can change.
public void setValueAt(Object value, int row, int col) {
//if (DEBUG) {
System.out.println("Setting value at " + row + "," + col
+ " to " + value
+ " (an instance of "
+ value.getClass() + ")");
data[row][col] = value;
fireTableCellUpdated(row, col);
/** This method is called from within the init() method to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
private void initComponents() {
label1 = new java.awt.Label();
txtSoldTo = new java.awt.TextArea();
label2 = new java.awt.Label();
lblDate = new java.awt.Label();
label4 = new java.awt.Label();
txtSoldBy = new java.awt.TextField();
label3 = new java.awt.Label();
lblSaleNumber = new java.awt.Label();
lblPaymentMethod = new java.awt.Label();
cmbPaymentMethod = new java.awt.Choice();
jButton1 = new javax.swing.JButton();
setLayout(null);
label1.setFont(new java.awt.Font("Dialog", 1, 12));
label1.setText("Sold To:");
add(label1);
label1.setBounds(10, 10, 50, 20);
add(txtSoldTo);
txtSoldTo.setBounds(10, 30, 180, 80);
label2.setFont(new java.awt.Font("Dialog", 1, 12));
label2.setText("Date:");
add(label2);
label2.setBounds(410, 10, 38, 20);
lblDate.setAlignment(java.awt.Label.CENTER);
lblDate.setText("dategoeshere");
add(lblDate);
lblDate.setBounds(390, 30, 90, 20);
label4.setFont(new java.awt.Font("Dialog", 1, 12));
label4.setText("Sold By:");
add(label4);
label4.setBounds(500, 70, 50, 20);
add(txtSoldBy);
txtSoldBy.setBounds(500, 90, 50, 20);
label3.setFont(new java.awt.Font("Dialog", 1, 12));
label3.setText("Sale No.");
add(label3);
label3.setBounds(500, 10, 50, 20);
lblSaleNumber.setAlignment(java.awt.Label.CENTER);
lblSaleNumber.setText("0");
add(lblSaleNumber);
lblSaleNumber.setBounds(490, 30, 70, 20);
lblPaymentMethod.setFont(new java.awt.Font("Dialog", 1, 12));
lblPaymentMethod.setText("Payment Method");
add(lblPaymentMethod);
lblPaymentMethod.setBounds(380, 70, 100, 20);
add(cmbPaymentMethod);
cmbPaymentMethod.setBounds(380, 90, 100, 20);
jButton1.setText("jButton1");
jButton1.setActionCommand("GO");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
add(jButton1);
jButton1.setBounds(210, 100, 81, 26);
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// Add your handling code here:
if( evt.getActionCommand().equals("GO")) {
PageDownload pagey = new PageDownload();
System.out.println("PageDownload created.");
pagey.main(null);
private String thepage;
// Variables declaration - do not modify
private java.awt.Choice cmbPaymentMethod;
private javax.swing.JButton jButton1;
private java.awt.Label label1;
private java.awt.Label label2;
private java.awt.Label label3;
private java.awt.Label label4;
private java.awt.Label lblDate;
private java.awt.Label lblPaymentMethod;
private java.awt.Label lblSaleNumber;
private java.awt.TextField txtSoldBy;
private java.awt.TextArea txtSoldTo;
// End of variables declaration
----------------------------PageDownload.java------------------------
package register;
* @author Geoff
import java.net.*;
import java.io.*;
import javax.swing.*;
import java.lang.Exception;
public class PageDownload extends java.applet.Applet {
/** Creates a new instance of PageDownload */
public PageDownload() {
public static void main(String[] args) throws Exception {
URL url = new URL("http://www.awebsite.com");
InputStream html = url.openStream();
int c = 0;
String a = "";
while(c != -1) {
a = "";
c = html.read();
if(c == (char)60) {
while(c != (char)62) {
a = a + (char)c;
c = html.read();
if(a == "") {}
else
System.out.println(a + ">");Your PageDownload code has no non-static code other than the blank class instantiator. You shouldn't be calling a static method from an instance of the class. You could just as easily say:
PageDownload.main(null);
instead of:
PageDownload pagey = new PageDownload();
pagey.main(null);
the PageDownload class needs no instance since it has no object code of any value.
Re-think the design a bit, the pattern looks bad.
If your intention for the PageDownload class was to create a singleton then search the tutorials for the proper way to construct singletons, also decide wether or not you need this class to be a singleton.
Also output some of the error information to help diagnose what exactly is wrong with the URL, ie, try to output the URL, maybe it's blank -
Adobe creative cloud is asking for a serial number for updates - where do I get this from?
Adobe Creative cloud is asking for a serial number for updates - where do I get this from
we have recently Bought 5 x 1 year licences and been using this a month
MichaelHi Mick,
Please refer to the below link.
http://helpx.adobe.com/creative-cloud/kb/ccm-prompt-serial-number.html
Thanks -
Can you help me with the WHERE clause? Any issue with this code block?
Hi,
I am looking for blogs or any document on how to implement a Lookup during data loads in BW.
The problem is that all those that I find on this site are mostly about u201CLookup in XIu201D
I have read bits and hints on different postings on this site and this is the best I could do for the scenario shown below:
I need to add the Chars: Char1, Char2, Char3 to CubeX
so that I can display the data for these 3 Chars in a report.
Char1 and Char2 are filled in ODS12 and Char3 is filled in Cube3.
Can you help me write a routine so that while loading data to CubeX, it will read Char1, Char2, Char3 from ODS12 and Cube3; and make them available in CubeX?
This is my attempt so far: continue:
u201C----
select /bic/Char1 from /bic/ODS12
select /bic/Char2 from /bic/ODS12
select /bic/Char3 from /bic/Cube3
into result
WHERE u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
and objvers = 'A' .
end select.
u201C----
1. What should be my WHERE clause?
2. In the select statement, by studying samples on this where should there be an u201CMu201D in front of the ODS? e.g. select /bic/Char1 from /bic/MODS12
If so, what is the significance and the other options?
3. Should this code be in the Start routing of CubeX? Or any other possible location? Also, in the start routine does it matter where within the start routine this code needs to be placed?
4. Can you please fix this code and add any lines I may be missing?
Is what I am looking to do refer to as u201Cdoing a lookupu201D?
Thanksok
-
I am using an expense tracker and when I export the file for use it says it is in location /var/mobile/applications/666E-4BC6-8FF1-50CAD35FA541/documents/MyExpenses.csv where do I find this? Assistance greatly appreciated
Attached is Dennis Linam’s Audition – “Log File” and “Log – Last File”
Contact information Dennis [email protected]
Previous contact information with your organization (DURIM):
Dennis - i just finished my audition trial and bought the subscription the 2014 version.
created by durin in Audition CS5.5, CS6 & CC - View the full discussion
DURIM - Okay. I would expect the "Cache Warning" message because your default directories would not be the same as the ones in the settings file I generated.
If you go back to the "7.0" directory and open the "Logs" folder, can you copy the "Audition Log.txt" file and send it as an attachment to [email protected]? We'll take a look in that logfile and see if it gives us more information about why this is failing now.
Also, do you have any other Adobe applications installed on this machine, such as Premiere Pro? If so, do they launch as expected or fail as well?
I do have the trial Pro version of Adobe reader, but I have not activated it, because I fear the same thing will happen did it. I cannot afford to activate the subscription for that product and take the chance of it not working either. I depend on those two programs religiously. Here is the files that you requested. I appreciate any help you can give me to get this audition program started
Audition Log- file
Ticks = 16 C:\Program Files (x86)\Common Files\Adobe\dynamiclink\7.0\dynamiclinkmanager.exe
Sent from Windows Mail -
When I try to download a free app after log in the iTunes gets cut off with a msg update security question where do I do this?? I can't download anything
If you have a credit card on file on top of your gift card then it is asking you to confirm the security code for the card, which for a Visa or MasterCard is 3 digits located on the back, or AMEX has 4 digits on the front. This happens just to ensure that you are the account holder, and would happen from time to time whether it was a free or paid app, even if you have a credit through your gift card. This doesn't mean that your credit card will be charged.
-
I don't have the Photo app on my home screen. Where do I find this? I think this is what I must use to view photos from my photo stream?
My photo icon on icloud.com did not appear until I went to my device (ipad in my case) and went to settings...Photos and Camera and toggle on iCloud Photo and Library (Beta) then refresh the icloud.com page.
-
I have just bought an iPhone with vodafone pay as you go sim. It was meant to come with a freedom freebie credit allowance. However I need a 12digit code to activate this. There is no code on my receipt. Where would I find this?
I bought this online through the apple store. I have no one to contact but to ask the community!
-
I just purchased an airport extreme router to increase the range of my wifi. I have an imac with 10.5.8. I get a flashing yellow light on the base unit and it tells me I need airport utility to install yhe ubnit. Where do I get this and how do I do it?
sylviafromhanover wrote:
So I assume that the original modem stays installed with the coaxial cable and the Exrtreme is in addition to that.
Yes, that is correct.
Did you have the instructions that came with your Airport Extreme? Are you sure you have it setup properly? Here is the setup guide:
http://manuals.info.apple.com/en/airportextreme_802.11n_userguide.pdf
Ensure you have everything setup properly. Once you do this and if you are still having trouble, follow Star's instructions.
Maybe you are looking for
-
H8-1040 Video Driver Crashing, System Restore then no longer boots properly
I previously had some issues with my graphics card driver crashing. After moving, I took the card out and cleaned out all the dust. The issue somehow got worse. (As you would imagine, the issue never presented itself in Safe Mode). Regardless, I deci
-
How many computers can I install labview on?
I have two automated tests that I would like to run at the same time on separate computers. Increased productivity and the whole 9 yards. Can I legally install Lab view on both computers and run them at the same time? Or is it only 1 copy of Labveiw
-
I have a 10 question survey that has been running fine and providing accurate responses in reports generated from my LMS. I made a property change to a multiple response type question that is now causing the reports to show a date/time (2003-01-01 1
-
Browse purchased movies, TV programmes on iPhone 5
iPad (3) with iOS 6 compared to iPhone 5 in iTunes Store. I can't see purchased movies, TV programmes etc on the iPhone. Is this just my iPhone or yours too?
-
When I drag it per the installation window the popup error says "The operation cannot be completed because you do not have sufficient privileges for some of the items." I have a macbook pro (unibody) running OX 10.5.8. I AM the administrator. It just