Simple problem? I think so!

Hey folks I got a problem I did not expect because before it worked quite good :-)
I got an jsp page with buttons "ny" for next year and "py" for previous year and the same for day (nd...) and month. the point is, after pressing the ohne of the buttons, in order to change the date an exception occurs, I really dont understand why.
First here is the error message:
org.apache.jasper.JasperException: null
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:367)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
root cause
java.lang.NumberFormatException: null
     java.lang.Integer.parseInt(Integer.java:436)
     java.lang.Integer.parseInt(Integer.java:518)
     org.apache.jsp.eintragen_jsp._jspService(eintragen_jsp.java:64)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:293)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Second the script for the Eintragen.jsp with date adjusting posibility, which isn�t working:
<begins here>
<HTML>
<HEAD>
<TITLE>Calendar: Termin eintragen</TITLE>
</HEAD>
<BODY BGCOLOR="white">
<tr><td>Sie wollen 1 Seiten eingeben</td></tr><br>
<tr><td>1</td></tr>
<tr><td>Page Title:</td><td><INPUT NAME="p_title" TYPE=TEXT SIZE=50 maxlength=200></td></tr><br>
<table>
<tr><td>Page Level:</td><td><SELECT size="4" name="p_level"><br>
<OPTION value="1">Level 1</OPTION>
<OPTION value="2">Level 2</OPTION>
<OPTION value="3">Level 3</OPTION>
<OPTION value="4">Level 4</OPTION>
<OPTION value="5">Level 5</OPTION>
<OPTION value="6">Level 6</OPTION>
<OPTION value="7">Level 7</OPTION>
<OPTION value="8">Level 8</OPTION>
<OPTION value="9">Level 9</OPTION>
</SELECT></td></tr><br>
<tr><td></td></tr>
</table>
<tr><td>Page Content Owner:</td><td><INPUT NAME="p_co" TYPE=TEXT SIZE=50 maxlength=200></td></tr><br>
<tr><td>Page Review Date:</td><br><br>
<td><button type="input" OnClick="self.location.href='add?date=py'">py</button></td>
<td><button type="input" OnClick="self.location.href='add?date=pm'">pm</button></td>
<td><button type="input" OnClick="self.location.href='add?date=pd'">pd</button></td>
<td><b>2004-05-28</b>
<INPUT NAME="p_review" TYPE="HIDDEN" value="2004-05-28"></td>
<td><button type="input" OnClick="self.location.href='add?date=nd'">nd</button></td>
<td><button type="input" OnClick="self.location.href='add?date=nm'">nm</button></td>
<td><button type="input" OnClick="self.location.href='add?date=ny'">ny</button></td>
</tr>
</BODY>
</HTML>
<ends here>
Then I have a Java class calbean.java which delegates date adjustments to JspCalendar. In turn the Eintragen.jsp should retrieve the adjusted date from calbean.java:
<calbean begins here>
package webeng;
import java.beans.*;
import java.util.*;
import javax.servlet.http.*;
import javax.servlet.*;
public class calBean {
JspCalendar JspCal;
String date;
public calBean () {
this.JspCal = new JspCalendar();
this.date = JspCal.getDate();
public String getDate () {
return this.date;
public void setDate (HttpServletRequest request) {
String dateR = request.getParameter ("date");
if (dateR == null) date = JspCal.getDate ();
else if (dateR.equalsIgnoreCase("ny")) date = JspCal.getNextYear ();
else if (dateR.equalsIgnoreCase("nm")) date = JspCal.getNextMonth ();
else if (dateR.equalsIgnoreCase("nd")) date = JspCal.getNextDay ();
else if (dateR.equalsIgnoreCase("py")) date = JspCal.getPreviousYear ();
else if (dateR.equalsIgnoreCase("pm")) date = JspCal.getPreviousMonth ();
else if (dateR.equalsIgnoreCase("pd")) date = JspCal.getPreviousDay ();
<calbean ends here>
And here I have the JspCalendar which computes dates which works I think, also the calbean because when Eintragen.jsp is first started I got the current date(today) only adjustments are not possible:
<JspCalendar starts here>
* JspCalendar.java
* Created on 09. Mai 2004, 22:10
package webeng;
import java.text.DateFormat;
import java.util.*;
public class JspCalendar {
Calendar calendar = null;
Date currentDate;
int reiter = 0;
public JspCalendar() {
     calendar = Calendar.getInstance();
     Date trialTime = new Date();
     calendar.setTime(trialTime);
public int getYear() {
     return calendar.get(Calendar.YEAR);
public String getMonthe() {
     int m = getMonthInt();
     String[] months = new String [] { "January", "February", "March",
                         "April", "May", "June",
                         "July", "August", "September",
                         "October", "November", "December" };
     if (m > 12)
     return "Unknown to Man";
     return months[m - 1];
public String getDay() {
     int x = getDayOfWeek();
     String[] days = new String[] {"Sunday", "Monday", "Tuesday", "Wednesday",
                    "Thursday", "Friday", "Saturday"};
     if (x > 7)
     return "Unknown to Man";
     return days[x - 1];
public int getMonthInt() {
     return 1 + calendar.get(Calendar.MONTH);
public String getDate() {
int i = getDayOfMonth();
int j = getMonthInt();
if ( i < 10 && j < 10 ) {
     return getYear()+"-0"+getMonthInt()+"-0"+getDayOfMonth();     
else if (i < 10 && (j > 10 || j == 10)) {
return getYear()+"-"+getMonthInt()+"-0"+getDayOfMonth();
else if ((i > 10 || i == 10) && j < 10) {
return getYear()+"-0"+getMonthInt()+"-"+getDayOfMonth();
else return getYear()+"-"+getMonthInt()+"-"+getDayOfMonth();
public String getNextDay() {
calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() + 1);
return getDate ();
public String getPreviousDay() {
calendar.set (Calendar.DAY_OF_MONTH, getDayOfMonth() - 1);
return getDate ();
public String getPreviousMonth() {
calendar.set (Calendar.MONTH, getMonth() - 1);
return getDate ();
public String getNextMonth() {
calendar.set (Calendar.MONTH, getMonth() + 1);
return getDate ();
public String getNextYear() {
calendar.set (Calendar.YEAR, getYear() + 1);
return getDate ();
public String getPreviousYear() {
calendar.set (Calendar.YEAR, getYear() - 1);
return getDate ();
public int getMonth() {
return calendar.get(Calendar.MONTH);
public String getTime() {
     return getHour() + ":" + getMinute() + ":" + getSecond();
public int getDayOfMonth() {
     return calendar.get(Calendar.DAY_OF_MONTH);
public int getDayOfYear() {
     return calendar.get(Calendar.DAY_OF_YEAR);
public int getWeekOfYear() {
     return calendar.get(Calendar.WEEK_OF_YEAR);
public int getWeekOfMonth() {
     return calendar.get(Calendar.WEEK_OF_MONTH);
public int getDayOfWeek() {
     return calendar.get(Calendar.DAY_OF_WEEK);
public int getHour() {
     return calendar.get(Calendar.HOUR_OF_DAY);
public int getMinute() {
     return calendar.get(Calendar.MINUTE);
public int getSecond() {
     return calendar.get(Calendar.SECOND);
public int getEra() {
     return calendar.get(Calendar.ERA);
public String getUSTimeZone() {
     String[] zones = new String[] {"Hawaii", "Alaskan", "Pacific",
                    "Mountain", "Central", "Eastern"};
     return zones[10 + getZoneOffset()];
public int getZoneOffset() {
     return calendar.get(Calendar.ZONE_OFFSET)/(60*60*1000);
public int getDSTOffset() {
     return calendar.get(Calendar.DST_OFFSET)/(60*60*1000);
public int getAMPM() {
     return calendar.get(Calendar.AM_PM);
public int getDaysPerMonth() {
return calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
<JspCalendar ends here>
I don�t think solving the problem is a big deal, only obviously I am not capable doing it in the moment.
Please help me!
Johannes

The exception is telling you what to look for:
java.lang.NumberFormatException: null
java.lang.Integer.parseInt(Integer.java:436)
java.lang.Integer.parseInt(Integer.java:518)
It's even telling you WHERE to look:
eintragen_jsp.java:64
Line 64 of that .java file is where you'll find the answer.
Why do you need JspCalendar? Seems like most of the functionality you put into it is already available in java.util.Calendar. (I just gave it a quick look.)

Similar Messages

  • Simple Problem i think

    My problem is that i dont know how to call a function in the DrawSquare class from another class. I want to call the function from at the * any ideas?? Any help is really appreciated.(I know this is probably a really stupid question)
    frame.getContentPane().add(new *,BorderLayout.CENTER);

    From the looks of your line of code, you want to add a Component to a JFrame. "... call a function" implies calling a method of a class, but I think you are asking how to add an instance of the class to the frame.
    First, to DrawSquare needs to be a Component, perhaps a JPanel? So in the source code you need to have "public class DrawSquare extends JPanel" for example. Then you can just use frame.getContentPane().add(new DrawSquare(),BorderLayout.CENTER); assuming you have a no-argument constructor in DrawSquare.

  • Adding a new class with Creator (really simple problem i think..)

    I added a new class to my project with creator...
    class name is "CambiaNote" and there's a method called Cambia
    tabellaselezionabile is my project(package)
    I tried to run everything but It gave me an error:
    Exception Details:  org.apache.jasper.JasperException
      Error getting property 'cambia' from bean of type tabellaselezionabile.Page1I don't know, but the word cambia don't exists at all in my code... or it is not case sensitive..?
    please help, thanks

    typo: correct Paint() to paint()

  • SimpleButton, simple problem I think

    I've been modifying a slideshow class I've found on the web
    and need a little direction. Everything is working fine except the
    button I'm trying to add.
    I want a button that covers part of the stage and I've
    created that. I just cant seem to figure out how to add
    addEventListener to it.
    I'd like to add an event listener like:
    stageButton.addEventListener(MouseEvent.CLICK, onClick);
    Any suggestions?
    Thanks

    btn.addEventListener(MouseEvent.CLICK, onClick);
    throws this error:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at
    XMLSlideshow/showLoadResult()[C:\WWW\Src\flash\XMLSlideshow.as:270]
    Line 270 is - btn.addEventListener(MouseEvent.CLICK,
    onClick);
    I've included the entire class below for review. If I add the
    event to the stageBtn function(commented out in example) then call
    the function(also commented out in example) it works but the
    navigation(stop, play, forward, reverse) then follows the links
    even though its not under the button.
    Thanks for looking

  • A Simple problem I`m sure BUT ITS DRIViNG ME CRAAAZY!

    Hello,
    I hope someone can help.
    I published a site with the first podcst episode using iweb.It went through onto iTunes bo problem so all`s good... so today I put together the 2nd episode, submit it to itunes as before...up comes the `..please provide the link to the podcast RSS feed ...' etc
    Podcast Feed URL:http://rss.mac.com/jubemeg/iWeb/Bandwagon/podcast/rss.xml is the address I`m given as with the first episode, I press continue and ....Unfortunatly THE FEED HAS ALREADY BEEN SUBMITTED.Course it has! Help!
    I have looked through the tech specs and I cant make head nor tail of it can someone help me in real basic layman language!
    Thank you,
    Jules

    Jules, it's a simple problem with a simple fix. (and it drove me nuts too)
    Publish to .Mac (or your server if it's different)... then PING itunes to let them know to go look for new content on your server (or .Mac). You PING iTunes by cutting and pasting the url addy below into safari and clicking return. You'll get an error message, don't worry, it's supposed to happen. About an hour later, maybe a bit longer, your new episode will be available.
    DONT submit your podcast by selecting the "SUBMIT PODCAST TO ITUNES" menu selection again. That command is for your first submission, not your subsequent ones. Think of your podcast as a book. And each episode is a chapter. When you ping iTunes, they go get the whereabouts of the new chapter and make it available for the world to come and read, hear, or watch.
    the PING url is...
    https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=INSERTYOURFE EDIDHERE
    Your feed ID number is in your original email from the itunes folks when they sent you your acceptance email and said that your podcast was now up and running on the ITMS.
    Hope this helps.
    Jim
    20" Imac 1ghz (lmpstd), Mini, G4 Dual 1.8(upgraded), G4 400, Powerbook,12", eMac   Mac OS X (10.4.4)  

  • A simple problem to solve... I hope.

    $A simple problem to solve... I hope. Hi Guys,
    This is my first post on this forum, and I'm hoping that the problem I'm encountering at the moment is down to my own stupidity rather than technical issues.
    Firstly, I should mention that I have used my X-fi sound blaster xtreme audio card for months now in my old PC which was running XP 32 bit with no problems whatsoever. In the last day I've built a new PC which has the following specs:
    Intel I7 860
    tb HDD
    4gb Ram
    Windows 7 Ultimate 64
    Nvidia GTX280
    Sound was very quiet and of a fairly poor quality to begin with, and I soon realised that I hadn't installed any drivers for the soundcard, so I went ahead and did so. Following this, I enter a **bleep**storm of illogical proportions which to me makes absolutely no sense.
    I get no sound from my speakers or headphones whatsoever. I have a pair of M-Audio AV-40 monitors at the moment, and no matter what I try, I can't get sound to work. When I go to the mixer, it seems odd to me
    http://yfrog.com/7fxfiproblemj
    I thought that there would be options for Line Outs etc, but I may be wrong.
    I've run the diagnostic tests and everything comes back absolutely fine.
    The weirdest thing however is the fact that when I test the speaker configuration, it responds to nothing except from the 7. surround sound, and my speakers react to the bottom left and bottom right speakers. I've tried installing, re-installing drivers no end. Looked for fixes and checked google as well and found nothing that matches the description of my problem.
    Am I missing out on something really obvious here? Or is there a more technical underlying factor ?behind this issue.
    Any help is hugely appreciated, thanks?

    Thanks for all of you help, but I still don't think the problem's solved.
    Here's the problem explained more thouroloy. I have a java program that uses lots of jar files. That means that to run my program, I need to have the CLASSPATH set to pick up all of these jar files. I'd also like to be able to give someone a copy of this program on a cd and have them immediately run it without having to assume anything about their configuration (except that they have java installed).
    So what I did was create a batch file that (at least temporarily) sets up the CLASSPATH to meet my needs. It then calls "java myProgram <all the other parms...>".
    Things run fine, except that the command window that gets opened up stays around while Swing program runs, and doesn't close until I close the Swing program. I'd like that that didn't happen.
    -- echo off
    Not going to do anything to help. It will stop the batch commands from echoing, but that's about it.
    -- javaw
    I tried this and it also doesn't work. It seems that neither java nor javaw return until after the program that it is running actually end.
    -- Executable jar
    Sounds promising, but will it work? How do I make sure the CLASSPATH is properly set before running this?
    Thanks again for all of your hlep.
    Sander Smith

  • I tell her that I'm developing a flash content with as2 and I have a very simple problem, I hope you

    Hello, how are you?
    I tell her that I'm developing a flash content with as2 and I have a very simple problem, I hope you can help me
    I happened to create a movie clip and inside to create a scroll that is two isntancias,
    I mean:
    in the first frame create a button in the 6 to 5 buttons and an action to melleve the sixth frame and another to return. (Elemental truth)
    Now I have a problem. In creating a movie clip instance name to each button and in the average place the next fram as2,
    boton.onRollOver name = function () {
           gotoAndStop ("Scene 1", "eqtiqueta");
    because what I want is that from inside the movie clip, go to the scene proncipal to a frame that is three in the label name.
    however, does not work.
    appreciate your cooperation.
    Escuchar
    Leer fonéticamente
    Diccionario - Ver diccionario detallado

    Hello, I think you need to start a discussion on the Action Script forum. This is the Flash Player forum, the browser plugin.
    Thanks,
    eidnolb

  • Hello  Simple problem - don,t know how to solve it.  With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was de

    Hello
    Simple problem - don,t know how to solve it.
    With Premiere CC when I try to do a selection (click... drag... release the click) very often it stop way before the end of the move I'm swinging the Magic Mouse. I taught that the mouse clicking was defective and went to get a new Magic Mouse after lots of frustration. Today, I have an edit to do it it does the SAME thing !!
    I was like ????#$%?&*(???
    Opened all the lights and taught I've trow the new mouse to the garbage and was using the defective mouse again... no !! - ??
    Actually, the bran new mouse is doing the same thing. What I understand after investigating on the motion and watching carefully my fingers !! -  is that when I click I have to keep my finger at the EXACT same place on the mouse... drag and release and it's fine. If I click by pushing on the mouse and my finder is moving of a 1/32th of a millimeter, it will release and my selection will be to redo. You can understand my frustration ! - 75$ later... same problem, but I know that if I click with about 5 pounds of pressure and trying to pass my finger through the plastic of the mouse, it you stay steady and make it !
    The problem is that scrolling is enable while clicking and it bugs.
    How to disable it ??
    Simple question - can't find the answer !

    Helllooo !?
    sorry but the Magic Mouse is just useless with the new Adobe Premiere CC and since I'm not the only one but can't find answer this is really disappointing. This mouse is just fantastic and now I have to swap from a USB mouse to the Magic Mouse every times I do some editing. My USB mouse if hurting my hand somehow and I want to got back to the Magic Mouse asap. Please - for sure there is a simple solution !
    Thanks !!

  • Please a simple problem but I don't know how to solve it. After installing 16 gb of ram all is good but when I turn on the computer it is a window signaling that all is correct. How is possible to delete once and for all that window? Thank you

    Please a simple problem but I don't know how to solve it. After installing 16 gb of ram all is good but when I turn on the computer it is a window signaling that all is correct. How is possible to delete once and for all that window? Thank you

    Well then maybe you could take a screenshot because the appearance of such a window is news to me.
    Also post your OS X version and what model Mac you have. The more detail, the better. Thanks.
    To take a screenshot hold ⌘ Shift 4 to create a selection crosshair. Click and hold while you drag the crosshair over the area you wish to capture and then release the mouse or trackpad. You will hear a "camera shutter" sound. This will deposit a screenshot on your Desktop.
    If you can't find it on your Desktop look in your Documents or Downloads folder.
    When you post your response, click the "camera" icon above the text field:
    This will display a dialog box which enables you to choose the screenshot file (remember it's on your Desktop) and click the Insert Image button.
    ⌘ Shift 4 and then pressing the space bar captures the frontmost window.
    ⌘ Shift 3 captures the entire screen.
    Drag the screenshot to the Trash after you post your reply.

  • Very Simple Problem-- Need help in method selection process

    Hello,
    It's difficult to explain the background of the program I am making-- but I am stuck at a very simple problem, that I can only solve with a very long block of if statements:
    I have 3 possible numbers-- 1, 2, or 3.
    Imagine two numbers are already taken-- say 1 and 2. I want a variable to set itself to the number that's not taken (3).
    So, again: If two numbers were taken say 2 or 3-- I want the variable to be sent to the other one that isn't taken-- 1.
    Thank you for your help,
    Evan.

    Actually, I'll just tell you the context of the program-- here is what I have so far:
    This program is meant to simulate Monty Hall Problem:
    http://en.wikipedia.org/wiki/Monty_Hall_problem
    The program sets up an array of three possible values. Each one of those values represents a door with either a goat or a car behind it. It then randomly sets one of those values to 1 (in order to represent a car as per the Monty Hall problem), and 0's represent goats.
    The user, which is simulated by the program (does not involve actual interaction), chooses a door initially.
    The game show hosts then reveals a door that is not the users initial choice, but IS a goat ( an array value of 0).
    For example if the array was [0][0][1]
    The user could pick door one (array position 0). Which is a goat.
    The game show host then reveals a goat that is not the users choice-- which would be array position 1.
    After the game show host reveals the goat-- I want the user to always switch his decision to the only other remaining door that was not his first choice.
    Then I wanted the computer to test to see if his final choice is the one with a car. And to tally up the amount of times he got it right.
    --Sorry that was long winded:
    import TerminalIO.*;//imports TerminalIO package for system.out.println
    import java.util.*;//import java.util for random
    public class Monty_Problem
         int doors[]= {0,0,0};
         Random rand= new Random();
         double wins,totals=0;
         public void carAssignment()
              int car_door= rand.nextInt(3);
              doors[car_door]=1;
         public int judgesChoice(int judgeDoor, int initialChoice)
              if(judgeDoor != initialChoice && doors[judgeDoor]!=1)
                   return judgeDoor;
              else
                   return judgesChoice(rand.nextInt(3), initialChoice); //infinite loop right here that I cannot remedy.  I want the program to have the judge pick a location that is not occupied by a  '1' and is not the user's choice. 
         public void gamePlaySwitches()
              int initialChoice= rand.nextInt(3);
              int judgeDoor = 0;
              int secondChoice= 0;
              judgeDoor= judgesChoice(rand.nextInt(3), initialChoice);
              //This part is meant to have the user switch choices from his initial choice
                   // to the only other choice that hasn't been revealed by the judge. 
              while(secondChoice == initialChoice || secondChoice== judgeDoor)
                   secondChoice++;
              if(doors[secondChoice]==1)
                   wins++;
                   totals++;
              else
                   totals++;          
         public static void main(String [] args)//creates the main menu
              Monty_Problem a= new Monty_Problem();
              int games=0;
              while(games!=100)
                        a.carAssignment();
                        a.gamePlaySwitches();
                        games++;
              System.out.println(a.wins/a.totals);
    }Edited by: EvanD on Jan 11, 2008 4:17 PM

  • A simple problem in j2sdk

    I am in a great problem with a very simple problem. I am new to J2EE. I had installed j2sdk1.4.0_03 / tomcat 4.1 in windows 2000. my problem is that the servlets are not being compiled. The error is " package javax.servlet is not found". error are also there in all the classes of this packege like in HttpServletResponse, HttpServletRequest etc.
    The classpath are correct. One of my friend is working with the same version and with the same classpath but in Windows XP..
    can anyone tell me why this is happening. and how to overcome this. PLEASE...............

    Add the jar that contains the javax.servlet package to your javac classpath using the -classpath option. Not sure why your CLASSPATH isn't working maybe youi have some invalid characters or directories with spaces that aren't quoted etc... I believe the servlet APIs are in servlet-api.jar, or at least they are in 5.0. Also please searxh the forums in the future this is a pretty typical question and has been answered numerous times.

  • I have a problem with iPhone is that I can replace it at points of sale in the U.S. because I bought from Saudi Arabia because the problem I think in the hard ware software worked more than 3 times did not fix

    dears,
    I have a problem with iPhone is that I can replace it at points of sale in the U.S. because I bought from Saudi Arabia because the problem I think in the hard ware I do resoftware more than 3 times did not fix.
    Network also always missing.
    I am living in KS Wichita. I hope you help me pleas.
    Regards.

    iPhone warranty is not international. You will have to return your
    iPhone to Saudi Arabia for repair/replacement. Either take it back
    yourself or send to friend/relative for them to take to Apple. Apple
    will not accept international shipments for repair nor will Apple
    ship repaired/replaced iPhones out of the country where the repair
    was done.

  • I have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!

    i have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!.
    one more question when i phone5 update with iOS 8.1.2 this iOS supported iphone5???

    Hi Ios 8.1.2 Should work on iPhone 4s / 5 You may have a bug Backup to  cloud over WiFi Then Restore back to Factory  Settings This will make iPhone as new. Use same Apple ID & you will get your Apps & Data back Do Restore over your WiFi. Cheers Brian

  • I am having the same problem I think.  With mobileme you simply copy documents to the idisk folder and then synch.  I cannot seem to sink that folder anymore.  Any idea as to how I can simply copy folders to icloud and then access the MS Word and PDF file

    I am having the same problem I think.  With mobileme you simply copy documents to the idisk folder and then synch.  I cannot seem to sink that folder anymore.  Any idea as to how I can simply copy folders to icloud and then access the MS Word and PDF files on my iphone?

    Apple never bopthered to explain that this would happen
    Your iDisk is still accessible after moving to iCloud in exactly the same way as before. Nothing is deleted until June 30th 2012.
    , so I could easily have lost ALL of the files I kept on iDisk.
    No, you couldn't. Firstly, nothing was deleted from your iDisk. Secondly, any files stored on your iDisk should never be your only copy. Even if your iDisk spontaneously combusted, you should keep local backups elsewhere.
    Does Apple WANT people to move their storage elsewhere and stop paying Apple for it?
    Yes. Apple doesn't provide such a service anymore, nor are you paying them for it.
    Apple has made no effort to suggest remedies for the problem it has given iDisk users
    They've provided instructions on how to download your files from your iDisk. What you do with them after that is your choice.

  • I loaded Mac OS X v10.7 Lion yesterday. Everything's running fine, except for a simple problem. Any time I want to copy a file, JPEG, etc., I am prompted "Finder wants to make changes. Type your password to allow this." I don't want this!! Is there a way

    I loaded Mac OS X v10.7 Lion yesterday. Everything’s running fine, except for a simple problem. Any time I want to copy a file, JPEG, etc., I am prompted “Finder wants to make changes. Type your password to allow this.” I don’t want this!! Is there a way to unlock “Finder” or rid this process?

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    resetpassword
    That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Simple question I think, add JPanel to JScrollPane

    I would imagine that for anyone with experience with Java this will be a simple problem. Why can't I add a JPanel to a JScrollPane using myScrollPane.Add(myPanel); ?? it seems to get hidden...
    This works correctly:
         //Create a panel
         JPanel panel = new JPanel(new FlowLayout());
         //Make it pink
         panel.setBackground(Color.pink);
         //Make it 400,400
         panel.setPreferredSize(new Dimension(400,400));
         //Create a Scrollpane
         JScrollPane scrollPane = new JScrollPane(panel);
         //Make it 300,300
         scrollPane.setPreferredSize(new Dimension(300,300));
         //Create a JFrame
         JFrame frame = new JFrame("Test Scrollpane");
         frame.setLayout(new FlowLayout());
         //Set close operation
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         //Set its size
         frame.setSize(600,600);
         //Add Scrollpane to JFrame
         frame.add(scrollPane);
         //Show it
         frame.setVisible(true);
    This doesnt:
         //Create a panel
         JPanel panel = new JPanel(new FlowLayout());
         //Make it pink
         panel.setBackground(Color.pink);
         //Make it 400,400
         panel.setPreferredSize(new Dimension(400,400));
         //Create a Scrollpane
         JScrollPane scrollPane = new JScrollPane();
         scrollPane.add(panel);
         //Make it 300,300
         scrollPane.setPreferredSize(new Dimension(300,300));
         //Create a JFrame
         JFrame frame = new JFrame("Test Scrollpane");
         frame.setLayout(new FlowLayout());
         //Set close operation
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         //Set its size
         frame.setSize(600,600);
         //Add Scrollpane to JFrame
         frame.add(scrollPane);
         //Show it
         frame.setVisible(true);

    rcfearn wrote:
    I would appreciate it you could read the sample code, I am asking the question as to why I have to do this? For structural reasons I don't want to have to add the JPanel during instatiation of the JScrollPane...Please read the [jscrollpane api.|http://java.sun.com/javase/6/docs/api/javax/swing/JScrollPane.html] To display something in a scroll pane you need to add it not to the scroll pane but to its viewport. If you add the component in the scroll pane's constructor, then it will be automatically added to the viewport. if you don't and add the component later, then you must go out of your way to be sure that it is added to the viewport with:
    JScrollPane myScrollPane = new JScrollPane();
    myScrollPane.getViewport().add(myComponent);

Maybe you are looking for

  • Append in FTP Adapter

    Hi All, We have a requirement to use Append function in FTP adapter to write the contents into same file. We are using Append="true" in our FTP WSDl but it was not working. Any help is highly appreciated. Thanks and Regards, Nagaraju .D

  • IDVD 7.1.2 will not burn a iPhoto11 slideshow

    Is there a problem between iphoto 11 9.2.1 and iDVD 7.1.2? I created a slideshow using iphoto and using SHARE IDVD (which the iDVD software was open) it moved the slideshow over to my theme project in iDVD. I could view and play.  Now I wanted to bur

  • Permissions Metadata User for System Connection in CE 7.2

    Hi, I want to create a system connection in NWA to an R/3 system with WSIL as service source. The Metadata User has SAP_ALL and SAP_NEW. But when I ping the system, following error is displayed: u201CUser credentials are valid but user does not have

  • TextAreas with diefferent height in a Table cell

    Dear All, I want to develop an application with textAreas, each has a different different height according to the streing length in the textArea, does anyone has any idea, how to do it? Thanks

  • My ipad need to input password when i open it. but i have never set a possword. what happed?

    my ipad needs me to enter password when i open it, but i have never set up password. i don't know how to deal with? what happened? how to solve this problem?