I'm having Trouble with a Simple Histogram
The program as a whole is supposed to read a text file, count the number of words, and ouput it. For example, "The The The pineapple pineapple" should ouput "The 3, Pineapple 2" I've gotten as far as dumping the tokens into an array and creating 2 empty arrays of the same size(word, count), but I don't know how to do the double loop that's necessory for the count. Please see my "hist()" method, this is where I'm having trouble. Any suggestions at all would be greatly appreciated. import java.io.*;
import java.util.*;
/*class Entry {
String word;
int count;
class main {
public static void main(String[] args){
main h = new main();
h.menu();
String [] wrd;
String [] words;
int[] count;
int wordcount = 0;
int foundit = -1;
int size;
int numword = 0;
int i = 0;
int j = 0;
int elements = 0;
public void menu() {
System.out.println("Welcome to Histogram 1.0");
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while(true){
System.out.println("Please enter one of the following commands: open, hist, show, save, help, or quit");
String s = null;
try {s = in.readLine();} catch (IOException e) {}
if (s.equals("open")) open();
else if (s.equals("hist")) hist();
else if (s.equals("show")) show();
else if (s.equals("save")) save();
else if (s.equals("help")) help();
else if (s.equals("quit")) {
System.exit(0);
public void open(){
// prompt user for name of file and open it
System.out.println("Enter Name Of File: ");
BufferedReader in = new BufferedReader(new InputStreamReader (System.in));
String filename = null;
try{ filename = in.readLine();}
catch(IOException e) {}
BufferedReader fin = null;
try { fin = new BufferedReader (new FileReader(filename));}
catch (FileNotFoundException e){
System.out.println("Can't open file "+filename+" for reading, please try again.");
return;
// read file for 1st time to count the tokens
String line = null;
try{ line = fin.readLine();}
catch(IOException e) {}
StringTokenizer tk = new StringTokenizer(line);
while(line!= null){
try{ line = fin.readLine();}
catch(IOException e) {}
//tk = new StringTokenizer(line);
wordcount += tk.countTokens();
System.out.println("wordcount = " + wordcount);
// close file
try{fin.close();}
catch(IOException e){
System.out.println( filename+" close failed");
// now go through file a second time and copy tokens into the new array
wrd = new String [wordcount];
BufferedReader fin2 = null;
try{ fin2 = new BufferedReader (new FileReader(filename));}
catch(FileNotFoundException e){
System.out.println("Can't open file "+filename+" for reading, please try again.");
return;
String pop = null;
try{ pop = fin2.readLine();}
catch(IOException e) {}
StringTokenizer tk2 = new StringTokenizer(pop);
int nextindex = 0;
while(pop!=null){
while (tk2.hasMoreTokens()) {
wrd[nextindex] = tk2.nextToken();
nextindex++;
try{ pop = fin2.readLine();}
catch(IOException e) {}
//tk2 = new StringTokenizer(pop);
try{fin2.close();}
catch(IOException e){
System.out.println(filename+" close failed");
for(int k=0; k<wordcount; k++){
System.out.println(wrd[k]);
public void hist() {
//prints out all the tokens
words = new String[wordcount];
count = new int[wordcount];
//boolean test = false;
for(int m=0; m<wordcount; m++){
if(words.equals(wrd[m])){
System.out.print("match");
else{
words[m] = wrd[m];
count[m] = 1;
public void show() {
//shows all the tokens
for(int j=0; j<wordcount; j++){
System.out.print(words[j]);
System.out.print(count[j]);
public void save() {
//Write the contents of the entire current histogram to a text file
PrintWriter out = null;
try { out = new PrintWriter(new FileWriter("outfile.txt"));}
catch(IOException e) {}
for (int i= 0; i<wordcount; i++) {
out.println(words);
out.println(count[i]);
out.close();
public void help() {
System.out.println(" This help will tell you what each command will do.");
System.out.println("");
System.out.println(" open - this command will open a text file that must be in the same directory ");
System.out.println(" as the program and scan through it counting how many words it has, ");
System.out.println("");
System.out.println(" hist - after you use the open command to open the text file the hist command will ");
System.out.println(" make a tally sheet counting how many times each word has been used. ");
System.out.println("");
System.out.println(" show - after you have opened the file with the open command and created a histogram ");
System.out.println(" with the hist command the show command will show a portion of or the entire h histogram. ");
System.out.println("");
System.out.println(" (show) just by itself will show the entire histogram. ");
System.out.println("");
System.out.println(" (show abc) will show the histogram count for the text abc if it exists. ");
System.out.println(" If the text is not found it will display text not found. ");
System.out.println("");
System.out.println(" (show pr*) will show the histogram count for all text items that begin with ");
System.out.println(" the letters pr, using * as a wild card character. ");
System.out.println("");
System.out.println(" save - after you have opened the file with the open command, and created the histogram ");
System.out.println(" with the hist command the save command will save the contents of the entire current histogram. ");
System.out.println(" to a text file that you choose the name of. If the file already exists the user will be prompted ");
System.out.println(" for confirmation on if they want to pick another name or overwrite the file.");
System.out.println("");
System.out.println(" quit - will quit the program. " );
Couple of points to begin with:
1. Class names should begin with an upper case letter
2. Class names should be descriptive
3. You shouldn't call your class main (this kind of follows from the first two points).
4. Always use {} around blocks of code, it will make your life, and those of the people who have to eventually maintain your code a lot easier.
5. Never ignore exceptions, i.e. don't use an empty block to catch exceptions.
6. Avoid assiging a local variable to null, especially if the only reason you are doing it is to "fix" a compilation error.
7. Your method names should reflect everything that the method does, this should encourage you to break the application logic down into the smallest tasks possible (a general rule is that each method should do one task, and do it well). In the example below, I ignore this advice in the loadFile() method, but it's left as an exercise to you to fix this.
8. You should use descriptive variable names (fin may make sense now, but will it in 6 months time?), and use camel case where the name uses multiple words, e.g. wordcount should be wordCount
On the problem at hand, I'll post a cut down example of what you want, and you can look at the javadocs, and find out how it works.
This code uses the auto-boxing feature of 1.5 (even though I don't like it, again it's left as an exercise for you to remove the auto-boxing ;) ) and some generics (you should be able to work out how to use this code in 1.4).
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import java.util.StringTokenizer;
public class Histogram {
/** Map to box the words. */
private Map<String, Integer> wordMap = new HashMap<String, Integer>();
* Main method.
* @param args
* Array of command line arguments
public static void main(String[] args) {
Histogram h = new Histogram();
h.menu();
* Display the menu, and enter program loop.
public void menu() {
System.out.println("Welcome to Histogram 1.0");
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while (true) {
System.out.println("Please enter one of the following commands: open, hist, show, save, help, or quit");
String s = null;
try {
s = in.readLine();
} catch (IOException e) {
System.out.println("Unable to interpret the input.");
continue;
if (s.equals("open")) {
loadFile();
} else if (s.equals("quit")) {
System.exit(0);
* Ask the user for a file name and load it
public void loadFile() {
System.out.println("Enter Name Of File: ");
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String filename = null;
try {
filename = reader.readLine();
reader = new BufferedReader(new FileReader(filename));
loadWords(reader);
reader.close();
} catch (FileNotFoundException e) {
System.out.println("Can't open file " + filename + " for reading, please try again.");
return;
} catch (IOException e) {
System.out.println(filename + " close failed");
displayHistogram();
* Load the words from the file into the map.
* @param reader
private void loadWords(BufferedReader reader) {
int wordCount = 0;
try {
String line = reader.readLine();
while (line != null) {
StringTokenizer tk = new StringTokenizer(line);
wordCount += tk.countTokens();
while (tk.hasMoreTokens()) {
String next = tk.nextToken();
if (wordMap.containsKey(next)) {
wordMap.put(next, (wordMap.get(next).intValue() + 1));
} else {
wordMap.put(next, 1);
System.out.println("line: " + line + " word count = " + wordCount);
line = reader.readLine();
} catch (IOException e) {
System.out.println("Unable to read next line");
* Display the words and their count.
private void displayHistogram() {
System.out.println("Map of words: " + wordMap);
}
Similar Messages
-
Having trouble with running simple jsf
Hi, I am new to JSF. I am trying to run this application provided with the j2ee tutorial. I am getting a "cannot find FacesContext" Exception even though I have the mapping it in my web.xml...I have attched the error and my web.xml...any help would be great...have been braking my head over it.....My web.xml file is in the WEB-INF folder, as ever.....
StandardWrapperValve[debugjsp]: Servlet.service() for servlet debugjsp threw exception
javax.servlet.ServletException: Cannot find FacesContext
javax.servlet.ServletException: Cannot find FacesContext
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
at org.apache.jsp.greeting$jsp._jspService(greeting$jsp.java:330)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
at java.lang.Thread.run(Thread.java:534)
web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>guessNumber</display-name>
<servlet>
<display-name>FacesServlet</display-name>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
</web-app>what is the web server u r using ?
what jars have u in the lib directory?
I believe this is a version /configuration problem -
Having trouble with the most simple of things: Static IP
I am having trouble with the most simple of things: Static IP.
I am working in Windows Server 2008 R2 SP1.
"Control Panel\Network and Internet\Network and Sharing Center\Local Area Connections>Properties>Internet Protocol Version 4 (TCP/IPv4) and Internet Protocol Version 6 (TCP/IPv6)"
IPv4: I have went to "ipconfig /all" and found the "preferred" IP Address and the Default Gateway.
Assign DNS Servers?
IPv6: I used "netsh interface ipv6 show address level=verbose" and found 3 usable IPv6 IPs.
Assign IP Address, Default Gateway and DNS Servers?What is the question?
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
Having trouble with itunes and windows 8
anyone else having trouble with windows 8 and itunes? My computer doesn't seem to recognize my shuffle.
A simple search would have answered such a silly question.
-
I have created a simple application where a user can order items and then i'm saving the order and all the items (details of order) to the dataBase.
i'm using jdk1.5 with jboss and mySql (also hibernate).
i'm having troubles with saving the details of the order, the relevant code is-
order entity -
@Entity
public class Orders implements Serializable
@Id @GeneratedValue
private long orderId; //generated in db
private String name;
public Orders(String userName)
this.userName=userName;
public long getOrderId() { return orderId; }
//getters and setters...
detailsOfOrder entity -
@Entity
public class DetailsOfOrders implements Serializable
@Id
private long orderId;
@Id
private int productId;
private int quantity;
public DetailsOfOrders(long orderId,int productId)
this.productId=productId;
this.orderId=orderId;
public long getOrderId() { return orderId; }
public int getProductId() { return productId; }
//getters and setters...
}session bean (order method) -
List<SCItem> listOfItems; //SCItem is a regular class
Orders order=new Orders(userName);
manager.persist(order);
long orderId=order.getOrderId(); //get order id after persisting
for(SCItem item : listOfItems) //save details of order
DetailsOfOrders detail=new DetailsOfOrders(orderId,"1");
manager.persist(detail); //exception occures here
}when i'm trying to make an order i'm getting the exception-
javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
what is the problem?
thanks in advanced.yes, the entity classes have no-arg constructors (i just tried to write it shortly here...)
about the other thing , well i'm sorry , the right code is-
session bean (order method) -
List<SCItem> listOfItems; //SCItem is a regular class
Orders order=new Orders(userName);
manager.persist(order);
long orderId=order.getOrderId(); //get order id after persisting
for(SCItem item : listOfItems) //save details of order
DetailsOfOrders detail=new DetailsOfOrders(orderId,item.getProductId());
manager.persist(detail); //exception occures here
}what else could it be? -
Having trouble with throws...
Hey there.
I'm fairly new to java so bear with me here.
I'm having trouble with a program that, in short, reads from a file.
Let me shorten a show the code to you...
//main opens up and in a bit we get to...
if (loginVerify())
//and the if continues.
fileIn.close();
//main ends
public boolean loginVerify() throws IOException
openIn(); //Checks for validity - It's a long story why I //didn't just put the code in loginVerify(). I //don't think it should matter.
String str = verifyLog(); //Does the actual reading
str = str.substring(1);
if (str == placeHold) //Don't worry about not making placeHold,
//I made it global for testing reasons.
return true;
else
return false;
private String verifyLog() throws IOException
String str;
while (true)
str = fileIn.readLine();
if (str == null)
break;
else if (str.charAt(0) == 1)
return str;
//ADDITION OF OTHER NUMBERS
else
return str = "invalid";
private void readIn() throws IOException
BufferedReader console =
new BufferedReader(new InputStreamReader(System.in));
openInputFile(fileName);
if (fileIn == null)
System.out.println("*** Can't open " + fileName + " ***");
return;
private static void openInputFile(String fileName)
try
fileIn = new BufferedReader(new FileReader(fileName));
catch (FileNotFoundException e)
So it's fairly simple. It checks for validity and then reads lines until it finds one with the first char as '1' when it finds it, it reads the rest of the line off.
The error I'm getting is as follows: Exception java.io.IOException must be caught, or it must be declared in the throws clause of this method.
I've added throws IOException to them in attempts to fix the error but to no avail. I've tryed putting the catch in different spots... again, doesn't work.
I'm using codewarrior IDE version 5. I'm fairly sure it's the newest. I installed Java SDK 1.3 with codewarrior originally but I installed 1.4.1 recently.
If you need to see anything else about it, please tell me. I'd be more than happy to post a little more if it'll help.
ThanksOk. I worked through a bunch of throws and now I've found one I can't seem to conquer.
private String verifyLog()
String str = "";
while (true)
try {
str = fileIn.readLine();
catch (FileNotFoundException g) {
if (str == null)
break;
else if (str.charAt(0) == 1)
return str;
//ADDITION OF OTHER PEOPLE
else
return str = "invalid";
return str = "invalid";
}This time the error is at the reference to readLine() and it tells me the same error as before. I have a catch set up there, don't I?
readLine() is something I didn't create so I don't know how I'd tell it to throw an exception if I had to...
Thanks -
Q Having trouble with shortcuts in illustrator( Please Help)
I am having trouble with shortcuts when i exit the program and then try and use shortcuts it wont work till i go back into edit and shortcuts menu and click ok to the defaullt setting and i have to keep doing this???? Can some one please helpme. I am very new to illustrator and i am trying to learn the shortcuts. Also im not very good with technical stuff so please make answer simple if possible Thanks
If you are saying that you use the default keyboard shortcuts list, and every time you open Illustrator you can't use any keyboard shortcuts, this must be a bug.
I'd suggest changing one keyboard shortcut, or as many as you would like, and save it as a new list. Maybe it won't be bugged like the default list.
If that doesn't work, my only other idea would be re-installing Illustrator. But wait to see what others say here, before trying to re-install.
Good luck! -
Having trouble with time capsule, won't find backups
having trouble with time capsule, won't find backups
Usually a simple reboot will work.. Reboot the TC..
If that is not enough.. Restart the whole network from off.
Mountain Lion and to a lesser extent Lion.. have network issues and lose track of the TC. -
Having trouble with variables followed by a period in user defined reports.
Using SQL Developer 1.0.0.15 on XP.
The DB is Oracle 10.
Having trouble with variables followed by a period in user defined reports.
select * from &OWNER.TABLE_NAME
I noticed that the "Data Dictionary Reports" use :OWNER
So I have tried all sort of variations:
select * from :OWNER.TABLE_NAME
select * from :OWNER\.TABLE_NAME
select * from ":OWNER".TABLE_NAME
select * from ':OWNER'.TABLE_NAME
select * from (:OWNER).TABLE_NAME
And every other variation I can think of. This is a simple example, but all my reports need the owner of tables as a variable.
I assume this is simple, I just have not hit the right combination.
Thanks -
DyerUse two points ..
select * from &OWNER..TABLE_NAME -
im having trouble with my i phone 4 ...when i make a call the other person can not hear me
Kayla, check the grill that covers the microphone (bottom left next to charging port) and make certain there isn't any dirt, makeup, spilled soda clogging the grill causing it to fail. My sister had a similar issue with her earphone and while I was in the process of replacing it for the third time I decided to check the grill under a very bright light and it was totally clogged up causing her not to be able to hear her phone calls. Use a Q-Tip dipped in hot water and gently wipe the grill. Just barely moisten it, no need to go crazy with the water. Might as well clean the earphone and speaker on the bottom right too. Anyhow, that could be what your issue is and if so it's a really simple fix. If that doesn't help just replace the microphone. It'd cost maybe $5 and ten minutes of your time to do. Good luck, John
-
Hi, i am having trouble with my mac mail account, i cannot send or receive any emails because of the server connection problems. Message says it could not be connected to SMTP server. Thanks in advance for your help.
Hello Sue,
I have an iPad 3, iPad Mini and iPhone 5S and they are all sluggish on capitalisation using shift keys. I hope that Apple will solve the problem because it is driving me crazy.
I find using a Microsoft Surface and Windows 8 phone, which I also have, work as well as all the ios devices before the ios 7 upgrade.
It has something to do with the length of time that you need to hold the shift key down. The shift key needs to be held longer than the letter key for the capitalisation to work. For some reason, this is a major change in the way we have learnt to touch type on computers. I am having to relearn how to type!
Michael -
I'm having trouble with a virus or something which affects Google search results when I use Firefox on my PC ...
When I search a topic gives me pages of links as normal, but when I click on a link, the page is hijacked to a site called 'www.goingonearth.com' ...
I've done a separate search and found that other users are affected, but there doesn't seem to be a clear-cut solution ... (Norton, McAfee and Kaspersky don't seem to be able to detect/fix it).
I'd like to continue using the Firefox/Google combination (nb: the hijack virus also affects IE but not Safari) - do you have a patch/fix that could rectify the vulnerability in your software?
thanks''' "... vulnerability in your software?" ''' <br />
And it affects IE, too? Ya probably picked up some malware and you blame it on Firefox.
Install, update, and run these programs in this order. They are listed in order of efficacy.<br />'''''(Not all programs detect the same Malware, so you may need to run them all to solve your problem.)''''' <br />These programs are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have.<br />
''Note: If your Malware infection is bad enough and you are mis-directed to URL's other than what is posted, you may have to use a different PC to download these programs and use a USB stick to transfer them to the afflicted PC.''
Malwarebytes' Anti-Malware - [http://www.malwarebytes.org/mbam.php] <br />
SuperAntispyware - [http://www.superantispyware.com/] <br />
AdAware - [http://www.lavasoftusa.com/software/adaware/] <br />
Spybot Search & Destroy - [http://www.safer-networking.org/en/index.html] <br />
Windows Defender: Home Page - [http://www.microsoft.com/windows/products/winfamily/defender/default.mspx]<br />
Also, if you have a search engine re-direct problem, see this:<br />
http://deletemalware.blogspot.com/2010/02/remove-google-redirect-virus.html
If these don't find it or can't clear it, post in one of these forums for specialized malware removal help: <br />
[http://www.spywarewarrior.com/index.php] <br />
[http://forum.aumha.org/] <br />
[http://www.spywareinfoforum.com/] <br />
[http://bleepingcomputer.com] -
my ipad is having trouble with my music... i had recently gotten a new one when i signed into my icloud the music that i had on the orignal one was not there.... some songs were in fact there but not clickable ( it was there only gray)... i was looking for help on how to get the music on the ipad
my ipad is having trouble with my music... i had recently gotten a new one when i signed into my icloud the music that i had on the orignal one was not there.... some songs were in fact there but not clickable ( it was there only gray)... i was looking for help on how to get the music on the ipad
-
I am having trouble with my mac mini ethernet. It had been working for weeks after an update to SL 10.6.8.
Once it went out and i repaired it by defining a new connection from System Preferences ->Network->(left panel service, +).
But yesterday, after a power up. my ethernet was not working again. I tried this old trick to repair it, but the interface choices
listed for '+' a new service did not include Ethernet any more. And the Utilities->System Profiler->Ethernet Cards shows
no ethernet available.
As a last ditch effort i reloaded my original SL from DVD. (I think it was version 10.6.4 but i could be mistaken on the version).
The ethernet worked! But KeyNote wasn't going to work because apparently the version i purchased depends on 10.6.8.
So I upgraded again to SL 10.6.8 (Plus some other updates like AirPort which i don't use).
Now the Ethernet is not working again. I see the same symptoms as before with the Ethernet seeming not installed.
Is this a problem seen by others?
Would going to Lion fix the problem?
Could AirPort actually be the culprit and not SL?
If i stay with my original SL, would i need to repurchase a version of KeyNote for the older version of SL?Have you reset the SMC?
Shut down the computer.
Unplug the computer's power cord.
Wait fifteen seconds.
Attach the computer's power cord.
Wait five seconds, then press the power button to turn on the computer.
While you're at it, resetting the PRAM won't hurt anything and 'might' help is SMC reset didn't work (PRAM does some port control):
Shut down the computer.
Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys.
Something else you might try .... you don't say how you're updating to 10.6.8, however, if you're using Software Update, you might try downloading the 10.6.8 combo update, which contains all updates to 10.6. Sometimes, Software Update doesn't work quite right, and installing the combo update fixes that. Download the update from Apple's download site at http://support.apple.com/downloads/ , using Disk Utility repair permissions, apply the combo update, then repair permissions again. -
I am having trouble with my links/websites having images attached to them. The place where the image should be is blank. For example, AARP has an A for its image. My storage website has a blank broken box where the image should be. I forgot I had trouble and had to reset Foxfire, this problem occurred after that reset.
cor-el,
Mixed content normally gives the world globe image, unless you are using a theme that uses a broken padlock instead. Maybe the gray triangle means invalid? I came across that in a few themes (what is invalid was not made clear), but those were not using triangle shapes to indicate that.
I came across that mention in one of the pages you posted:
* https://support.mozilla.org/kb/Site+Identity+Button
I cannot attach a screenshot because I have not seen a triangle of any kind in my address bar.
Maybe you are looking for
-
App Volumes 2.7 Writable Volumes - Behavior in Windows 8.1
Hello, I've been evaluating App Volumes 2.7 on a Windows 8.1 VDI environment, seeing that the release notes now indicate that the agent installed in Windows 8.1 is now supported. The AppStack works great with Windows 8.1 desktops, but I'm having issu
-
How to run windows-xp in MacBook Air?
How to run windows-xp in my MacBook Air?
-
Can I use iDVD to create a project to burn on a Windows PC?
I might be needing to create a DVD for a job I am applying for. I have a 12" iBook with just a combo drive. My Mom's Gateway computer does have a DVD burner. I'm wondering if it would be possible to transfer over the iDVD project to her computer and
-
Web template "0ADHOC" does not exist in the master system error
Hi to all, The Web template "0ADHOC" does not exist in the master system. Error coming while executing query on web template. Via TCODE RSCUTV27 I have checked the default web template 0ADHOC is already there for adhoc analysis. Please can anyone tel
-
Developing Web dynpro FPM application
Hi All I need to implement "Exit" functionality in my component similar to the standard ESS components which uses IFPM interface. 1) I created a view 2) Added a button 3) On click of button i called a method say "<b>cancel</b>" of Component Cntroller