Problem with WP-mathA

When I open Acrobat reader 8, it says that it can't find or create the font "WP-mathA" When I checked in the fonts folder for windows, I found that I have the font. What do I need to do to get Acrobat Reader to see that?

Befor I began, I am not an expert and only go by what I've tried or found that works well for me, I had the same problem but with my Adobe Pro XI. Here was the solution I found and, from reading dozens of different forums on this subject, I chose to download this application because of the backing it was getting throughout several forums on the web, all have said this application works well on all Adobe Readers, but of course, I cannot know that, but do know it works well on mine and solved the prblem immediately, that has to count for something right, and, it doesn't hurt to try and can be easily uninstalled.
I hope this helps you :9)
http://www.corel.com/6763/downloads/WordPerfect/wpwin/9/wpfonts.exe

Similar Messages

  • Problem with the math library functions

    Hi,
    I encountered a problem related to some functions provided by math library on sun. I narrowed it down to the following test program:
    ========================================================
    #include<stdio.h>
    #include<math.h>
    void pow_res()
    double x = 10.0;
    double y = 2.5;
    printf("pow(%.2e, %.2e):%.20e\n", x, y, pow(10.0, 2.5));
    void cos_res()
    double x = -6.433230338433114370e-02;
    printf("x:%.20e cos(x):%.20e\n", x, cos(x));
    int main()
    pow_res();
    cos_res();
    return 0;
    ========================================================
    The above test program has to be linked with any math library. It is �libm� for amd64/linux, but for sparc we have choice between �libm� and �libmopt�. I am compiling above program with "cc <test_program.c> <-lm/-lmopt>" command.
    On sparc, if the above test program is getting linked with �-lm" then it gives same results for the �cos� on both amd64 and sparc, but gives different results (16th decimal digit onward) for �pow�. If it is getting linked with �-lmopt� then it gives same result for the �pow� on both the platforms, but gives different results for �cos�. Linux results match with the amd64 results.
    The �Numerical Computation Guide� provided by SUN (ftp://docs-pdf.sun.com/802-5692/802-5692.pdf page 40, table 2.10 ) says that you can trust only 15-17 decimal digits for double calculation. But here the requirement is to match the sparc results exactly with the amd64/linux or at least match the result till 20th decimal digit. I guess it is something to do with the FPU setting either through compiler options or code. I tried many different compiler options, like -fast, different combinations of compiler options provided by -fast macro, but nothing helped.
    Following is the system configuration:
    Amd64:
    gcc version: 3.3.6
    OS: RedHat Enterprise Linux 3.0 U7 (Linux 2.4.21-40.ELsmp x86_64)
    Sparc:
    cc version: Sun C 5.8 Patch 121015-01
    OS: SunOS 5.9 Generic_118558-21 sun4u sparc SUNW,Sun-Fire-280R
    It will be great if somebody can explain the problem and the solution to get rid of it.
    Many thanks,
    Sunil

    Transcendental functions are not specified to be correctly rounded in the same
    sense as +-*/.     So it's entirely possible, and often observed, that libraries of equal
    quality deliver slightly different results.
    To simplify, suppose one wanted to compute x = 4*atan(1.0)
    which happens to be the
    transcendental number pi which is roughly, in hex and in decimali:
    .C90F DAA2 2168 C234 C... * 2^4 or 3.141592653589793239...
    But binary floating-point arithmetic can only represent certain rational numbers of
    the form of an integer of at most 53 significant bits times a power of two. The
    nearest double-precision number to pi is
    .C90F DAA2 2168 C * 2^4 or roughly 3.141592653589793116...
    This particular number has a large but finite decimal expansion. And if you
    do printf with %e.20 you will get the 20 decimal digits of that double-precision
    number's expansion, not the 20 decimal digits of pi, which only agrees to the
    15 significant decimals 3.141592653589793 and differs afterward.
    In the case of pow(10.0,2.5), (which happens to be sqrt(1.0e5))
    the correct result in hex looks something like
    .9E1D 276F D4BA C410 C... * 2^9 or roughly 3.162277660168379332...E+2
    in hex notation, while the closest double precision number is
    .9E1D 276F D4BA C8 * 2^9 or roughly 3.162277660168379612...E+2
    but it's only slightly closer than the next closest double precision number
    .9E1D 276F D4BA c0 *2^9 or roughly 3.162277660168379043...E+2
    Either answer is a good answer, and math libraries might that only aspire to
    deliver results that are close to correctly rounded might deliver either, depending
    on which approximation algorithm is used, which might depend on what's fastest
    on a particular processor.
    So why don't math libraries deliver correctly rounded results instead of almost?
    Because the slight extra increase in accuracy doesn't do much good for most
    people, and the major decrease in performance is noticeable by lots of people.
    The main payoff of correctly rounded transcendental functions is that they
    promote uniform numerical results across platforms, which is worth something
    to some people but not much to many people.
    So for those who find it worthwhile, there are correctly rounded transcendental
    function libraries available. Sun's development version is available at
    http://www.sun.com/download/products.xml?id=41797765
    Another solution for some people is to change double variables and functions
    to long double, using powl and cosl in the examples. That increases the
    accuracy to almost 20 digits on x86 and over 30 digits on SPARC, and while
    the same issues eventually arise, most users would never encounter them.
    The SPARC long double implementation is in software rather than hardware,
    and so entails a major performance reduction compared to double.
    The Numerical Computation Guide at docs.sun.com discusses many of these
    issues at greater length.

  • Problems with "time math". Trying to calculate Duration.

    I thought I had my head around this, but evidently NOT. And it seems that the newer version of Numbers has cleaned up how we deal with calculating times, while I'm still on Numbers '08.
    What I'm hoping for seems incredibly simple. But something is falling apart.
    In cell B3, time started: 9:37 AM
    In cell C3, end time: 8:28 PM
    In cell D3, "down time", how long was lunch break, etc.: 1 hour 23 minutes.
    In cell E4, I'd want the Duration of hours worked for the day.
    Sounds simple enough, I know. And I'm partly there, but something's not right.
    Right now, in B3 and C3, I just have the times. Then in D3 I just have the "down time". I'm using a hidden column "E" where, E3 is set up with the formula, =HOUR(D3) for calculation purposes.
    Then finally, in the Resulting Duration column, I have =((HOUR(C3)-HOUR(B3))-E3)
    Seems to work, with nice clean even hours. But once the numbers/times don't add up to a perfect even amount of time, the numbers get silly!
    Any help here would be appreciated.
    Remember too, FWIW, this is in Numbers '08.

    Hi Kevin,
    HOUR(B3) extracts the hour value (as a number) of the Date and Time value contained in B3.
    Numbers '08 treats all time entries as Date and Time (of day) values. DURATION (as a data type) was introduced in Numbers '09.
    For your task, you can enter times of day, convert them to fractions of a (24 hour) day, do the math, then multiply the result by 24 to convert it to a number of hours, expressed as a decimal number.
    Here's an example, using the values in your original post:
    B3 contains the Starting Time, B4 the Ending Time, and B5 a Time of Day masquerading as the duration of the lunch break. Each of these is actually a Date and Time value, formatted to show only the Time part.
    B3 and B4 are formatted to show, in 12 hour AM/PM format, only the Time portion of a Date and Time value.
    B5 is formatted to show, in 24 hour format, only the Time portion of a Date and Time value.
    C3 - C5 contain the formula =B, and simply copy (and display) the Date and Time value actually placed in the corresponding cells in column B when I typed in the time displayed. the Date is the date on which the entry was made.
    D3 - D5 contain the formula =TIMEVALUE(B)
    TIMEVALUE extracts the decimal fraction of a day that has passed by the Time part of the Date and Time value in each corresponding cell in column B, providing a set of numbers with which calculations may be done.
    Columns C and D are for demonstration purposes only, and are not used in calculating the amount of time worked.
    That's done in B6 (also a demonstration, showing the result as the fraction of a full 24 hour day), and in B7 (showing the result as a number representing the number of hours worked that day.
    Formulas:
    B6:       =TIMEVALUE(B4)-TIMEVALUE(B3)-TIMEVALUE(B5)
    B7: =24*(TIMEVALUE(B4)-TIMEVALUE(B3)-TIMEVALUE(B5))
    Not shown is a further formula that converts the value in B7 to a text string showing the number of hours and minutes ( 9h 28m ) worked that day. Note that while the time values in B6 and/or B7 can be used in further calculations, the text string produced by the formula below cannot.
    =INT(B7)&"h "&(ROUND((B7-INT(B7))*60,0))&"m"
    Regards,
    Barry

  • Problem with Math In Calculated Fields

    I am calculating a group incident rate for data returned from
    a query. The formula is Number of cases multiplied by 200000
    divided by number of hours worked. Cases in my report is the
    calculated field: calc.CaseSum (the sum of cases for the group)
    Hours is calc.SumHours (the sum of hours for the group). The actual
    values for these variables (for the first group are 48 and 29427171
    respectively. When I create the following calculated field called
    rate using the formula: (calc.CaseSum * 200000) / calc.SumHours,
    Cold Fusion Generates a Runtime Error:
    Invalid ColdFusion expression in report. If the expression is
    a string, ensure that it is within quotes. Error: (calc.CaseSum *
    200000) / calc.SumHours is not a valid ColdFusion expression.
    If I use the constant value "29427171" as the divisor, the
    report works albeit only for the first group. Any ideas; is this a
    bug, or am I misusing the product?
    Addition: I forgot to mention I am using CF8. Also this
    formula worked fine as a Report Total before I introduced grouping
    and modified the calculated fields to reset on the change of a
    group.

    Sorry, I've been on another project for awhile. This problem
    will certainly be a "show stopper" for me if I cannot resolve it.
    As I mentioned in my original post, I used a constant in the
    formula in lieu of the variable and the calculation worked. This
    would suggest that CF does not have a problem with a large number.
    In spite of that reasoning, I tried Tony's suggested (thanks
    by the way!) with the identical outcome, only difference is the new
    formula is displayed in the error message.
    Tony, you also suggested that I set the variables using
    CFSET... How would I do this within the report writer environment.
    I had tried a similar approach: to perform half the calculation
    i.e. that within the parenthesis, and assign that value to a
    separate "calculated field: and then perform the rest of the
    calculation on that variable with the same outcome.
    I think that I may be dealing with a CF bug here, I'd like to
    find a workaround... I've noticed that CF8 has a new patch, perhaps
    after I apply it, I may be able to get this thing to work. I'm on
    another project right now so it will be a few days before I can
    test this theory, I report the result.
    Should this fail, and no one can come up with a workaround, I
    will report this to Adobe.

  • Problems With System Configuration

    System Configuration is altered and not repairable. Selective startup is persistent. Normal startup is selected, but the Apply button is greyed out, inaccessible, and system always remains in Selective startup. As a result, Current User profile is probably
    corrupted. Windows Store will not install (services are corrupt, SFC and DISM did not work). Outlook profile was deleted, needed to be reinstalled, and can not receive mail. Excel math engine totals values higher than actual amounts. IE automatically signs
    into all Microsoft accounts (reset to default settings worked for a log on, but automatic sign in resumed afterwards).
    Are there any solutions?
    Office diagnostics produced the following report.
    Diagnostic Results
    None of the Microsoft Office Diagnostics found any problems.
    More resources
    Setup Diagnostic — File corruption or altered file
    The Setup Diagnostic repaired problems with your installation of Microsoft Office. Your Microsoft Office programs should now function correctly.
    If your Microsoft Office programs continue to crash, the source of the problem may be a hardware failure or hardware configuration problem. Review the results of the Disk and Memory Diagnostics to determine if a hardware failure is affecting your installation
    of the 2007 Office release.
    More resources
    Setup Diagnostic — Missing media
    The Setup Diagnostic was not completed because a valid source was not found. Either the local installation source is missing, or the original source that was used to install Microsoft Office is not available to the repair process. You may need to provide
    the original source to allow this diagnostic to run successfully. Valid sources for the 2007 Office release include the following:
    Your 2007 Office release installation CD
    An installation disk or repair CD provided by the vendor of your computer
    A connection to a network installation of the 2007 Office release
    After you obtain access to a valid source, run Office Diagnostics again.
    More resources
    Disk Diagnostic — Failure of hard disk predicted
    The Self-Monitoring, Analysis, and Reporting Technology (SMART) feature of your hard disk has found errors that may indicate that the hard disk is likely to fail. SMART is a feature that some disk drive manufacturers provide to give users advance notice
    of potential hard disk failure. Instability in your Microsoft Office programs may be the result of these hard disk drive errors.
    Note This result can indicate a severe problem, but some hard disks may not accurately report their results.
    We recommend that you do the following:
    1.Back up your important data immediately.
    2.Check the results of other diagnostics, and follow the instructions for resolving any issues that the other diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Disk Diagnostic issue is resolved.
    3.If you continue to get this result, contact someone, such as the vendor of your computer or hard disk.
    More resources
    Disk Diagnostic — Errors in system event log
    The Disk Diagnostic found evidence of hardware errors. Instability in your Microsoft Office programs may be the result of these hardware errors.
    This result occurs if one of the following has happened recently:
    The Self-Monitoring, Analysis, and Reporting Technology (SMART) feature of your hard disk has found errors. SMART is a feature that some disk drive manufacturers provide to give users advance notice of potential hard disk failure.
    Microsoft Office Diagnostics has found blocked-out (failed) sectors on your hard disk.
    Microsoft Office has had trouble accessing files from the hard disk; it needs these files to function properly.
    We recommend that you do the following:
    1.Check the results of other diagnostics, and follow the instructions for resolving any issues that the diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Disk Diagnostic issue is resolved.
    2.If you continue to get this result, contact someone, such as the vendor of your computer or hard disk.
    More resources
    Memory Diagnostic — RAM failure
    The Memory Diagnostic found evidence of failure in the random access memory (RAM).
    We recommend that you do the following:
    1.Check the results of other diagnostics, and follow the instructions for resolving any issues that the diagnostics have reported. After you resolve those issues, run Microsoft Office Diagnostics again to see if this Memory Diagnostic issue is resolved.
    2.If you continue to get this result, do either of the following:
    Run a Microsoft Windows memory diagnostic. For more information, see the following:
    Windows Vista How do I know if my computer has a memory problem?
    Microsoft Windows XP Windows Memory Diagnostic
    Contact someone, such as the vendor of your computer or RAM.
    More resources
    Memory Diagnostic — User is not an administrator
    The Memory Diagnostic was unable to run because you do not have administrative rights on this computer. To successfully run the Memory Diagnostic, someone with administrative rights must log on to this computer and run Microsoft Office Diagnostics.
    More resources
    Update Diagnostic — Installation is out of date
    The Update Diagnostic determined that your installation of Microsoft Office does not have the latest service packs installed. Installing service packs improves stability. We recommend that you visit Downloads on Microsoft Office Online, and then, under Office
    Update, click Check for Updates.
    More resources
    Compatibility Diagnostic — Conflicting versions of Outlook found
    The Compatibility Diagnostic identified conflicting versions of Microsoft Office Outlook. To remove the version of Outlook from your computer that you do not want, do the following:
    Microsoft Windows Vista
    1.Click the Start button, and then click Control Panel.
    2.Click Uninstall a program.
    Note In Classic view, double-click Programs and Features.
    3.Select the version of Outlook that you do not want, and then click Uninstall.
    Microsoft Windows XP
    1.Click Start, and then click Control Panel.
    2.Double-click Add or Remove Programs.
    3.Select the version of Outlook that you do not want, and then click Remove.
    More resources

    Check disk and memory diagnostics found no errors.
    SFC and DISM listed errors when performed in diagnostic start up. Commands changed from previous attempts. Before SFC and DISM only had to be entered as SFC and DISM. Presently, additional commands are required.
    Log Name:      Microsoft-Windows-MemoryDiagnostics-Results/Debug
    Source:        Microsoft-Windows-MemoryDiagnostics-Results
    Date:          8/21/2014 12:51:09 PM
    Event ID:      2001
    Task Category: None
    Level:         Information
    Keywords:     
    User:          SYSTEM
    Computer:      TAS
    Description:
    Windows Memory Diagnostic results
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-MemoryDiagnostics-Results" Guid="{5F92BC59-248F-4111-86A9-E393E12C6139}" />
        <EventID>2001</EventID>
        <Version>0</Version>
        <Level>4</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x4000000000000000</Keywords>
        <TimeCreated SystemTime="2014-08-21T16:51:09.612555200Z" />
        <EventRecordID>1</EventRecordID>
        <Correlation />
        <Execution ProcessID="5296" ThreadID="5300" />
        <Channel>Microsoft-Windows-MemoryDiagnostics-Results/Debug</Channel>
        <Computer>TAS</Computer>
        <Security UserID="S-1-5-18" />
      </System>
      <UserData>
        <Results xmlns="http://manifests.microsoft.com/win/2005/08/windows/Reliability/Postboot/Events">
          <MemDiagRawData>89170000000000000200000003000000050000000A000000D80300000C0000000200000000000000964017005B090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C800000000000000707E748DCE00000001000000C800000000000000C8000000000000000C00000038000000DE07080015000C001E00200000000700964017005B09000001000020000001000C00010000000000020001001E00010000000000040001004200010000000000060001002E0001000000000001000100660001000000000003000100EC00010000000000000001000D00020000000000020001001D00020000000000040001004200020000000000060001002F0002000000000001000100650002000000000003000100EC00020000000000</MemDiagRawData>
        </Results>
      </UserData>
    </Event>
    Windows Resource Protection could not start the repair service.
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\WINDOWS\system32>DISM
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
    DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
             {servicing_command} [<servicing_arguments>]
    DESCRIPTION:
      DISM enumerates, installs, uninstalls, configures, and updates features
      and packages in Windows images. The commands that are available depend
      on the image being serviced and whether the image is offline or running.
    GENERIC IMAGING COMMANDS:
      /Get-MountedImageInfo   - Displays information about mounted WIM and VHD images.
      /Get-ImageInfo          - Displays information about images in a WIM or VHD file.
      /Commit-Image           - Saves changes to a mounted WIM or VHD image.
      /Unmount-Image          - Unmounts a mounted WIM or VHD image.
      /Mount-Image            - Mounts an image from a WIM or VHD file.
      /Remount-Image          - Recovers an orphaned image mount directory.
      /Cleanup-Mountpoints    - Deletes resources associated with corrupted mounted images.
    WIM COMMANDS:
      /Capture-CustomImage    - Captures customizations into a delta WIM file on a WIM Boot system. Captured directories include all subfolders and data.
      /Get-WIMBootEntry       - Displays WIMBoot configuration entries for the specified disk volume.
      /Update-WIMBootEntry    - Updates WIMBoot configuration entry for the specified disk volume.
      /List-Image             - Displays a list of the files and folders in a
                                specified image.
      /Delete-Image           - Deletes the specified volume image from a WIM file
                                that has multiple volume images.
      /Split-Image            - Splits an existing .wim file into multiple
                                read-only split WIM (SWM) files.
      /Export-Image           - Exports a copy of the specified image to another
                                file.
      /Append-Image           - Adds another image to a WIM file.
      /Capture-Image          - Captures an image of a drive into a new WIM file. Captured directories include all subfolders and data.
      /Apply-Image            - Applies an image.
      /Get-MountedWimInfo     - Displays information about mounted WIM images.
      /Get-WimInfo            - Displays information about images in a WIM file.
      /Commit-Wim             - Saves changes to a mounted WIM image.
      /Unmount-Wim            - Unmounts a mounted WIM image.
      /Mount-Wim              - Mounts an image from a WIM file.
      /Remount-Wim            - Recovers an orphaned WIM mount directory.
      /Cleanup-Wim            - Deletes resources associated with mounted WIM images that are corrupted.
    IMAGE SPECIFICATIONS:
      /Online                 - Targets the running operating system.
      /Image                  - Specifies the path to the root directory of an offline Windows image.
    DISM OPTIONS:
      /English                - Displays command line output in English.
      /Format                 - Specifies the report output format.
      /WinDir                 - Specifies the path to the Windows directory.
      /SysDriveDir            - Specifies the path to the system-loader file named BootMgr.
      /LogPath                - Specifies the logfile path.
      /LogLevel               - Specifies the output level shown in the log (1-4).
      /NoRestart              - Suppresses automatic reboots and reboot prompts.
      /Quiet                  - Suppresses all output except for error messages.
      /ScratchDir             - Specifies the path to a scratch directory.
    For more information about these DISM options and their arguments, specify an option immediately before /?.
      Examples:
        DISM.exe /Mount-Wim /?
        DISM.exe /ScratchDir /?
        DISM.exe /Image:C:\test\offline /?
        DISM.exe /Online /?
    C:\WINDOWS\system32>DISM.exe /English
    Deployment Image Servicing and Management tool
    Version: 6.3.9600.17031
    Error: 1639
    No DISM options were specified on the command-line.
    Run DISM with a command-line option specified, such as /Image or /Online. For more information, refer to the help by running DISM.exe /?.
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

  • Memory problem with JTextFields

    Hello,
    I have a wierd problem with JTextField and the memory.
    I need to fill a JPanel with different Components (including JTextFields), then do some calculation, remove the Components and filling the JPanel again.
    When i so this too often my i get an OutOfMemory Exception. I narrowed to problem down and wrote a small sample program to demonstrate the problem.
    When i call the method doIT (where the Panel is repeatedly filled) from the main-function everything works fine, but when it is called as a result from the GUI-Button-Event the memory for the JTextFields is not freed (even the call of the Garbage collector changes nothing)
    When i only use JButtons to fill the Panel everything works fine.
    Has anyone an idea why this problem occurs and how i can work around it?
    [Edit] I tested it whith java 1.5.0_06, 1.5.0_11, 1.6.0_02
    Thanks
    Marc
    import java.awt.Frame;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.lang.management.ManagementFactory;
    import java.lang.management.MemoryUsage;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class MemoryTestDLG extends JDialog {
         public MemoryTestDLG(Frame owner) {
              // create Dialog with one Button that calls the testMethod
              super(owner);
              JButton b = new JButton("doIT ...");
              b.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent e) {
                        doIT();
                        setVisible(false);
              getContentPane().add(b);
              pack();
         public void doIT() {
              // Testmethod that fills a JPanel 20 times with Components and clears it
              // again
              JPanel p = new JPanel();
              long memUse1 = 0;
              long memUse2 = 0;
              long memUseTemp = 0;
              for (int count = 0; count < 20; count++) {
                   // Clear the panel
                   p.removeAll();
                   // Get memory usage before the task
                   Runtime.getRuntime().gc();
                   memUse1 = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()
                             .getUsed();
                   // Fill Panel with components
                   for (int i = 0; i < 200; i++) {
                        // The Buttons seem to be released without any problem
                        p.add(new JButton("test" + Math.random()));
                        // JTextFields are not released when used from the dialog.
                        p.add(new JTextField("test " + Math.random()));
                   // get memory usage after the task
                   Runtime.getRuntime().gc();
                   memUseTemp = memUse2;
                   memUse2 = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()
                             .getUsed();
                   // print Memory results
                   System.out.println("Memory Usage: " + f(memUse1) + "   ->"
                             + f(memUse2) + " [ Used:" + f(memUse2 - memUse1)
                             + " ] [ Freed: " + f(memUseTemp - memUse1) + "]");
         public String f(long m) // formats the output
              String s = "" + m;
              while (s.length() < 8)
                   s = " " + s;
              return s;
         public static void main(String[] args) {
              MemoryTestDLG d = new MemoryTestDLG(null);
              System.out
                        .println("------------------ Direct Call (all is OK) -------------------");
              d.doIT(); // Memory is freed with every call to JPanel.removeAll()
              System.out
                        .println("------------ Call from Dialog (memory is not freed) -------------");
              // The Memory keeps blocked
              d.setModal(true);
              d.setVisible(true);
              System.exit(0);
    }Message was edited by:
    marcvomorc

    Thank you for your answer,
    In this sample the programm does not run out of memory. But when you look at the output you see, that in the first run (direct call) the memory ist freed immediately when tha panel is cleared but in the second run (from the Button) the memory usage is getting bigger and bigger. Wenn you change the number of components to 2000 (4000)
    // Fill Panel with components
            for (int i = 0; i < 2000; i++) {
                // The Buttons seem to be released without any problem
    //... ...and use the default memory settings (69mb heap) the programm runns out of memory.
    I get the following output:
    ------------------ Direct Call (all is OK) -------------------
    Memory Usage:   445504   -> 8121016 [ Used: 7675512 ] [ Freed:  -445504]
    Memory Usage:   617352   -> 8114336 [ Used: 7496984 ] [ Freed:  7503664]
    Memory Usage:   810488   -> 8491768 [ Used: 7681280 ] [ Freed:  7303848]
    Memory Usage:   943704   -> 8114976 [ Used: 7171272 ] [ Freed:  7548064]
    Memory Usage:   836760   -> 8505072 [ Used: 7668312 ] [ Freed:  7278216]
    Memory Usage:   978352   -> 8114784 [ Used: 7136432 ] [ Freed:  7526720]
    Memory Usage:   835552   -> 8498288 [ Used: 7662736 ] [ Freed:  7279232]
    Memory Usage:   977096   -> 8114312 [ Used: 7137216 ] [ Freed:  7521192]
    Memory Usage:   835640   -> 8498376 [ Used: 7662736 ] [ Freed:  7278672]
    Memory Usage:   977296   -> 8115000 [ Used: 7137704 ] [ Freed:  7521080]
    Memory Usage:   835392   -> 8504872 [ Used: 7669480 ] [ Freed:  7279608]
    Memory Usage:   976968   -> 8115192 [ Used: 7138224 ] [ Freed:  7527904]
    Memory Usage:   836224   -> 8501624 [ Used: 7665400 ] [ Freed:  7278968]
    Memory Usage:   977840   -> 8115120 [ Used: 7137280 ] [ Freed:  7523784]
    Memory Usage:   835664   -> 8498256 [ Used: 7662592 ] [ Freed:  7279456]
    Memory Usage:   976856   -> 8114384 [ Used: 7137528 ] [ Freed:  7521400]
    Memory Usage:   835784   -> 8502848 [ Used: 7667064 ] [ Freed:  7278600]
    Memory Usage:   977360   -> 8114592 [ Used: 7137232 ] [ Freed:  7525488]
    Memory Usage:   835496   -> 8502720 [ Used: 7667224 ] [ Freed:  7279096]
    Memory Usage:   976440   -> 8115128 [ Used: 7138688 ] [ Freed:  7526280]
    ------------ Call from Dialog (memory is not freed) -------------
    Memory Usage:   866504   -> 8784320 [ Used: 7917816 ] [ Freed:  -866504]
    Memory Usage:  7480760   ->14631152 [ Used: 7150392 ] [ Freed:  1303560]
    Memory Usage: 14245264   ->22127104 [ Used: 7881840 ] [ Freed:   385888]
    Memory Usage: 19302896   ->27190744 [ Used: 7887848 ] [ Freed:  2824208]
    Memory Usage: 27190744   ->35073944 [ Used: 7883200 ] [ Freed:        0]
    Memory Usage: 31856624   ->39740176 [ Used: 7883552 ] [ Freed:  3217320]
    Memory Usage: 39740176   ->47623040 [ Used: 7882864 ] [ Freed:        0]
    Memory Usage: 44410480   ->52293864 [ Used: 7883384 ] [ Freed:  3212560]
    Memory Usage: 52293864   ->58569304 [ Used: 6275440 ] [ Freed:        0]
    Memory Usage: 58569304   ->64846400 [ Used: 6277096 ] [ Freed:        0]
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap spacewhen I outcomment the adding of the JButtons the amount of freed memory is 0 in the second run. So my guess is, that there is a problem with freeing the memory for the JTextFields.
    Memory Usage:   447832   -> 6509960 [ Used: 6062128 ] [ Freed:  6332768]
    Memory Usage:   722776   -> 6785632 [ Used: 6062856 ] [ Freed:  5787184]
    ------------ Call from Dialog (memory is not freed) -------------
    Memory Usage:   468880   -> 6770240 [ Used: 6301360 ] [ Freed:  -468880]
    Memory Usage:  6770240   ->13016264 [ Used: 6246024 ] [ Freed:        0]
    Memory Usage: 13016264   ->19297080 [ Used: 6280816 ] [ Freed:        0]
    Memory Usage: 19297080   ->25570152 [ Used: 6273072 ] [ Freed:        0]
    Memory Usage: 25570152   ->31849160 [ Used: 6279008 ] [ Freed:        0]
    Memory Usage: 31849160   ->38124368 [ Used: 6275208 ] [ Freed:        0]
    Memory Usage: 38124368   ->44402072 [ Used: 6277704 ] [ Freed:        0]
    Memory Usage: 44402072   ->50677928 [ Used: 6275856 ] [ Freed:        0]
    Memory Usage: 50677928   ->56955880 [ Used: 6277952 ] [ Freed:        0]
    Memory Usage: 56955880   ->63232152 [ Used: 6276272 ] [ Freed:        0]
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError: Java heap spaceAdditionally the JPanel I am using is not displayed on the screen. It stays invisible the whole time, but i cannot work around that, because the calculation is depending on the values being in components on the JPanel)
    Marc

  • Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome

    Problem with jquery slide show conflict with vertical navigation menu in Firefox & Chrome. Works in IE. This is my first time trying to post a question - so please be kind. I am also not good with code and am finding css a real challenge after learning to design based on tables. I'm using CS5.
    The "test" page with the slide show is: http://www.reardanwa.com/index-slides.html   The same page without the slide show is http://www.reardanwa.com/
    I realize the images are not ideally sized - I'll fix those once I get the pages to function.  Maybe I need a different slide show? I would prefer a widget that I can modify to required size & postition. Again - I'm not good at building with code from scratch.
    The problem is the naviagation links that are directly next to the slide show do not work in Firefox of Chrome. They do work in IE.
    I've read about using jQuery.noConflict(); code but can't figure out the correct way to use it in my case or whether that's even part of the solution. I know my code is not well organized as I have cobbled together from various sources in an attempt to format the page the way the client wants it. Also, FYI, I will eventually try to make the page work in Surreal CMS.
    I've spent sevaral days over the last several weeks trying to solve sth slide show/navigation conflict - so any specific light you can shed will be much appreciated.
    Thanks in advance.
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Reardan Area Chamber of Commerce</title>
    <meta name="description" content="home page for Reardan Area Chamber of Commerce" />
    <meta name="keywords" content="Reardan WA, chamber of commerce" </>
    <script src="scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.cycle.all.js" type="text/javascript">  </script>
    <script type="text/xml">
    </script>
    <style type="text/css">
                                  #slideshow { 
                                      padding: 10px;
                                            margin:0; 
                                  #slideshow-caption{
                                            padding:0;
                                            margin:0;
                                  #slideshow img, #slideshow div { 
                                      padding: 10px;
                                      background-color: #EEE;
                                      margin: 0;
    body {
              font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
              background: #004B8D;
              margin: 0;
              padding: 0;
              color: #000;
    /* ~~ Element/tag selectors ~~ */
    ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
              padding: 0;
              margin: 0;
    h1, h2, h3, h4, h5, h6, p {
              margin-top: 0;           /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
               /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
    .left
    position:absolute;
    left:0px;
    .center
    margin:auto;
    width:95%;
    .box
              position:relative;
              left:-90px;
              width:950px;
              height:350px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              z-index:1000;
    .slide{
        position:absolute;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
              border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
              color: #42413C;
              text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
              color: #6E6C64;
              text-decoration: underline;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
              text-decoration: none;
    /* ~~this fixed width container surrounds the other divs~~ */
    .container {
              width: 960px;
              min-height:900px;
              padding:5px 0px 0px 0px;
              background: #E8F8FF;
              margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
              background: #E8F8FF;
              padding:10px 5px 0px 5px;
    .sidebar1 {
              float: left;
              width: 225px;
              margin: 60px;
              color: #FFFF0D;
              background: #595FFF;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
              padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
        z-index:-1;
    .sidebar2 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:2;
    .sidebar3 {
              float: left;
              width: 275px;
              color: #FFFF0D;
              text-align: left;
              background: #595FFF;
              padding-bottom: 10px;
              border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        border: 3px solid #F7F723;
        z-index:3;
    .content {
              padding: 0px 0px 0px 0px;
              width: 780px;
              float: left;
              background: #E8F8FF;
    /* ~~ This grouped selector gives the lists in the .content area space ~~ */
    .content ul, .content ol {
              padding: 0px 15px 5px 10px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
    /* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
    ul.nav {
              list-style: none; /* this removes the list marker */
              border-top: 0px solid #FFFF66; /* this creates the top border for the links - all others are placed using a bottom border on the LI */
              margin-bottom: 50px; /* this creates the space between the navigation on the content below */
              font: Arial Black, Verdana, , Helvetica, sans-serif;
              font-size:1.3em;
              font-weight:bold;
              z-index:2;
    ul.nav li {
              border-bottom: 0px solid #FFFF66; /* this creates the button separation */
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
    ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
              padding: 3px 0px 5px 0px;
              display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
              width: 185px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
              text-decoration: none;
              color: #FFFF0D;
              background: #595FFF;
    ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
              background: #595FFF;
              font: 120%/1.4 Arial Black, Verdana, , Helvetica, sans-serif;
              color: #FFFFFF;
    /* ~~ The footer ~~ */
    .footer {
              padding: 10px 0;
              background:  #595FFF;
              color: #FFFF0D;
              position: relative;/* this gives IE6 hasLayout to properly clear */
              clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
              float: right;
              margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
              float: left;
              margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
              clear:both;
              height:0;
              font-size: 1px;
              line-height: 0px;
    -->
    </style>
    </head>
    <body>
    <div class="container">
      <div class="header"><!-- end .header -->
      <a href="#"><img src="images/Chamber-Logo-2.gif" alt="Reardan Chamber Logo" width="187" height="163" hspace="10" vspace="5" align="top" /></a><img src="images/Reardan-Chamber-Title.gif" width="476" height="204" alt="Reardan Area Chamber of Commerce, Dedicated to Preserving and Enhancing Area Businesses" /><p></p>
      <p style="color: #F00">This Site is under construction! Please pardon our dust as we create!</p>
      </div>
      <div class="sidebar1">
        <ul class="nav">
          <li><a href="about.html">About Us</a></li>
          <li><a href="history.html">Reardan History</a></li>
          <li><a href="activities.html">Activities</a></li>
          <li><a href="business.html">Business<br />
            Directory</a></li>
          <li><a href="about.html">Join the<br />
            Chamber</a></li>
           <li><a href="links.html">Links<br />
      <span style="font-size: 85%">Tourism</span><br />
          </a></li>
        </ul>
         <!-- end .sidebar1 --></div>
    <br />
    <br />
    <br />
    <br />
    <div class="box" +"slide">
      <script type="text/javascript">
    // BeginOAWidget_Instance_2559022: #slideshow
                               slideshowAddCaption=true;
    $(window).load(function() {
      $('#slideshow').cycle({
                        after:                              slideshowOnCycleAfter, //the function that is triggered after each transition
                        autostop:                              false,     // true to end slideshow after X transitions (where X == slide count)
                        fx:                                        'blindX',// name of transition effect
                        pause:                              false,     // true to enable pause on hover
                        randomizeEffects:          true,  // valid when multiple effects are used; true to make the effect sequence random
                        speed:                              100,  // speed of the transition (any valid fx speed value)
                        sync:                              true,     // true if in/out transitions should occur simultaneously
                        timeout:                    5000,  // milliseconds between slide transitions (0 to disable auto advance)
                        fit:                              true,
                        height:                       '300px',
                        width:         '525px'   // container width (if the 'fit' option is true, the slides will be set to this width as well)
    function slideshowOnCycleAfter() {
              if (slideshowAddCaption==true){
                                  $('#slideshow-caption').html(this.title);
    // EndOAWidget_Instance_2559022
      </script>
      <div id="slideshow">
        <!--All elements inside this will become slides-->
        <img src="images/100_1537.jpeg" width="600" height="450" title="caption for image1" /> <img src="images/Parade-2011-2.jpg" width="300" height="225" title="caption for image2" /> <img src="images/100_1495.jpeg" width="600" height="450" title="caption for image3" />
        <div title="sample title"> Images for slide show will need to be re-sized to fit box to avoid distortion</div>
        <img src="images/beach4.jpg" width="200" height="200" title="caption for image4" /> <img src="images/beach5.jpg" width="200" height="200" title="caption for image5" /> </div>
      <!--It is safe to delete this if captions are disabled-->
      <div id="slideshow-caption"></div></div>
    <div class="sidebar2" "anotherClass editable"><p align="center"><strong>Chamber News</strong><br />
    Local News item
    <br />
    Another New item</p>
      <p align="center">lots of news this week<br />
        <br />
        <br />
        <br />
      </p>
    </div>
    <div class="sidebar3" "anotherClass editable"><p align="center"><strong>Upcoming Events</strong></p>
      <div align="center">    <a href="activities.html" style="color: #FFFF0D">Community wide yard sales</a><br />
        <br />
        <br />
        <br />
        <br />
      </div>
    </div>
    <div class="content"><br />
    <br />
    </div>
    <div class="footer">
            <p align="center"><span style="font-size: small">Reardan Area Chamber of Commerce</span><br />
              <span style="font-size: x-small">[email protected]  - 509.796.2102</span><br />
            </p>
            <!-- end .footer -->
    </div></body>
    </html>

    If you DO want the slideshow overlaping the navigation try the below css:
    .sidebar1 {
        float: left;
        width: 225px;
        margin: 60px 0px 60px 60px;
        color: #FFFF0D;
        background: #595FFF;
        border-radius: 13px;
        -moz-border-radius: 13px;
        -webkit-border-radius: 13px;
        padding: 5px 5px 0px 5px;
        border: 3px solid #F7F723;
    .box {
    float: left;
    margin-left:-60px;
    width:700px;
    height:350px;
    border-radius: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;

  • Weird problem with jpanel vs jframe

    I'm using jmathplot.jar from JMathTools which lets me do 3d plotting. I used a JFrame to get some code to work and it worked fine. Here's the code that worked for a JFrame:
    public class View extends JFrame
        private Model myModel;
        private Plot3DPanel myPanel;
        // ... Components
        public View(Model m)
            myModel = m; 
            // ... Initialize components
            myPanel = new Plot3DPanel("SOUTH");
            myPanel.addGridPlot("Test",myModel.getXRange(),myModel.getYRange(),myModel.getZValues());
            setSize(600, 600);
            setContentPane(myPanel);
            setVisible(true);
    }Here's the class that starts everything:
    public class TestApplet extends JApplet
        public void init()
            //Execute a job on the event-dispatching thread; creating this applet's GUI.
            try
                SwingUtilities.invokeAndWait(new Runnable()
                    public void run()
                        createGUI();
            catch (Exception e)
                e.printStackTrace();
        private void createGUI()
            System.out.println("Creating GUI");
            Model model = new Model();
            View view = new View(model);
    }And here's the Model:
    public class Model
        private double[] myXRange,myYRange;
        private double[][] myZValues;
        public Model()
            createDataSet();
        public double[] getXRange()
            return myXRange;
        public double[] getYRange()
            return myYRange;
        public double[][] getZValues()
            return myZValues;
        private void createDataSet()
            myXRange = new double[10];
            myYRange = new double[10];
            myZValues = new double[10][10];
            for(double i=0;i<10;i++)
                for(double j=0;j<10;j++)
                    double x = i/10;
                    double y = j/10;
                    myXRange[(int) i] = x;
                    myYRange[(int) j] = y;
                    myZValues[(int) i][(int) j]= Math.cos(x*Math.PI)*Math.sin(y*Math.PI);
    }However, as you can see, my main class is a JApplet because ideally I want View to be a JPanel that I add to the applet. All I did was change "extends JFrame" to "extends JApplet" and changed:
    setSize(600, 600);
    setContentPane(myPanel);
    setVisible(true);to
    this.add(myPanel);and added these two lines to createGUI():
            view.setOpaque(true);
            setContentPane(view);When I run it however, it appears really really small. It seems like its drawing the panel to the default size of the applet viewer and doesn't resize it when I resize the applet. I don't know if it's a problem with the library or if I'm doing something wrong in my applet.

    However, as you can see, my main class is a JApplet because ideally I want View to be a JPanel that I add to the applet. All I did was change "extends JFrame" to "extends JApplet" and (...)What do you mean? View extends JApplet? I thought View was meant to extend JPanel in the end...
    When I run it however, it appears really really small. It seems like its drawing the panel to the default size of the applet viewer and doesn't resize it when I resize the applet.Or, the panel has its preferred size, and this latter is too small. Actually the panel has the size its container's layout manager awards it (taking or not the panel's preferred, minimum, and maximum sizes into account). See the tutorial on [layout managers|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html] .
    In particular, this line adds the myPanel to a parent panel (presumably, it is in class View which extends JPanel, whose default layout is FlowLayout):
    this.add(myPanel);
    I don't know if it's a problem with the library or if I'm doing something wrong in my applet.Likely not (presumably the library interfers only in how it computes the Plot3DPanel's preferred size). There's an easy way to tell: try to layout correctly a custom JPanel of yours, containing only e.g. a button with an icon. Once you understand the basics of layout management, revisit the example using ther 3rd-party library.
    N.B.: there are a lot of "likely" and "presumably" in my reply: in order to avoid hardly-educated guesses especially on what is or isn't in your actual code, you'd better provide an SSCCE , which means reproducing the problem without the 3rd party library.

  • Problem with JComboBox in aTable Cell

    I try to put JComboBox in JTableCell,
    what i want to do is something like this...
    Question | Answer |
    1. what is your favourite | a. Pizza |
    food? | b. Hot Dog |
    2. what is your favourite | a. red |
    color? | b. blue |
    Object[][] data = {
    {"1.What is your favourite food?", new AnswerChoices(new String[]{"a.Pizza","b.Hot Dog"})},
    {"2.What is your favourite color?", new AnswerChoices(new String[]{"a.red","b.blue"})}
    here my code;
    //class AnswerChoicesCellEditor
    import javax.swing.table.*;
    import javax.swing.*;
    import java.awt.Component;
    import java.awt.event.MouseEvent;
    import java.util.EventObject;
    import de.falcom.table.*;
    public class AnswerChoicesCellEditor extends AbstractCellEditor implements TableCellEditor{
         protected JComboBox mComboBox;
    public AnswerChoicesCellEditor(){
         mComboBox = new JComboBox();
         mComboBox.addActionListener(this);
         mComboBox.setEditable(false);
    public Component getTableCellEditorComponent(JTable table,Object value,boolean isSelected,int row,int column){
         if(value instanceof AnswerChoices){
              AnswerChoices a = (AnswerChoices)value;
              String[] c = a.getChoices();
              mComboBox.removeAllItems();
              for(int i=0; i < c.length; i++)
                   mComboBox.addItem(c);
                   mComboBox.setSelectedIndex(a.getAnswer());
         return mComboBox;
    public Object getCellEditorValue(){
         int nchoices = mComboBox.getItemCount();
         String[] c = new String[nchoices];
         for(int i = 0; i<nchoices; i++){
              c[i] = mComboBox.getItemAt(i).toString();
         return new AnswerChoices(c,mComboBox.getSelectedIndex());
         //return mComboBox.getSelectedItem(); //here i get but after selection there is no comboBox in tableCell
    //the Renderer class
    import javax.swing.table.TableCellRenderer;
    import javax.swing.*;
    import java.awt.Component;
    public class AnswerChoicesCellRenderer extends JComboBox implements TableCellRenderer {
         private Object curValue;
    /** Creates new AnswerChoiceCellRenderer */
    public AnswerChoicesCellRenderer() {
    setEditable(false);
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected,boolean hasFocus,int row,int column) {
    if (value instanceof AnswerChoices) {
    AnswerChoices nl = (AnswerChoices)value;
    String[] tList = nl.getChoices();
    if (tList != null) {
    removeAllItems();
    for (int i=0; i<tList.length; i++)
    addItem(tList[i]);
         setSelectedIndex(AnswerChoices.getAnswer());
         //this.setSelectedItem();
    //return this;
    //this.getTableCellRendererComponent(table,value,isSelected,hasFocus,row,column);
    if (table != null)
    if (table.isCellEditable(row, column))
    setForeground(CellRendererConstants.EDITABLE_COLOR);
    else
    setForeground(CellRendererConstants.UNEDITABLE_COLOR);
              setBackground(table.getBackground());
    return this;
    public class AnswerChoices {
         static int ans = 0;
         String[] choices ;
    public AnswerChoices(String[]c,int a){
              choices = c;
              ans          = a;
    public AnswerChoices(String[] c){
              this(c,0);
    public String[] getChoices(){
         return choices;
    public void setAnswer(int a){
         ans = a;
    public static int getAnswer(){
         return ans;
    //the TableModel i used in my app
    import java.awt.Color;
    import javax.swing.JTable;
    import javax.swing.ListSelectionModel;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellEditor;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import javax.swing.table.TableModel;
    import javax.swing.*;
    public class FAL_Table extends JTable {
    /** Creates new FAL_Table */
    public FAL_Table(DefaultTableModel dtm) {
    super(dtm);
    setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    setRowSelectionAllowed(false);
    setColumnSelectionAllowed(false);
    setBackground(java.awt.Color.white);
    setDefaultCellEditorRenderer();
    private void setDefaultCellEditorRenderer(Class forClass, TableCellEditor editor, TableCellRenderer renderer) {
         setDefaultEditor(forClass, editor);
         setDefaultRenderer(forClass, renderer);
         private void setDefaultCellEditorRenderer() {
              // Setting default editor&renderer of Boolean
              setDefaultCellEditorRenderer(Boolean.class, new BooleanCellEditor(), new BooleanCellRenderer());
              //Setting default editor&renderer of ComboBox
              setDefaultCellEditorRenderer(JComboBox.class, new ComboBoxCellEditor( ),new ComboBoxRenderer());
              // Number class
              // Setting default editor&renderer of java.math.BigDecimal
              setDefaultCellEditorRenderer(java.math.BigDecimal.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of java.math.BigInteger
              setDefaultCellEditorRenderer(java.math.BigInteger.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of java.lang.Byte
              setDefaultCellEditorRenderer(Byte.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of Double
              setDefaultCellEditorRenderer(Double.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of Float
              setDefaultCellEditorRenderer(Float.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of Integer
              setDefaultCellEditorRenderer(Integer.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of Long
              setDefaultCellEditorRenderer(Long.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of Short
              setDefaultCellEditorRenderer(Short.class,new NumberCellEditor(), new NumberCellRenderer());
              // Setting default editor&renderer of String
              setDefaultCellEditorRenderer(String.class,new StringCellEditor(), new StringCellRenderer());
              // Setting default editor&renderer of FileName
              setDefaultCellEditorRenderer(FileName.class,new FileNameCellEditor(), new FileNameCellRenderer());
              // Setting default editor&renderer of Color
              setDefaultCellEditorRenderer(Color.class,new ColorCellEditor(), new ColorCellRenderer());
              setDefaultCellEditorRenderer(AnswerChoices.class, new AnswerChoicesCellEditor(), new AnswerChoicesCellRenderer());
              setDefaultCellEditorRenderer(JSpinner.class, new SpinnerCellEditor(), new SpinnerRenderer());
    public Class getCellClass(int row,int col) {
    TableModel model = getModel();
    if (model instanceof FAL_TableModel) {
    FAL_TableModel ptm = (FAL_TableModel)model;
    return ptm.getCellClass(row,convertColumnIndexToModel(col));
    return model.getColumnClass(convertColumnIndexToModel(col));
    public TableCellRenderer getCellRenderer(int row, int column) {
    TableColumn tableColumn = getColumnModel().getColumn(column);
    TableCellRenderer renderer = tableColumn.getCellRenderer();
    if (renderer == null) {
    renderer = getDefaultRenderer(getCellClass(row,column));
    return renderer;
    public TableCellEditor getCellEditor(int row, int column) {
    TableColumn tableColumn = getColumnModel().getColumn(column);
    TableCellEditor editor = tableColumn.getCellEditor();
    if (editor == null) {
    editor = getDefaultEditor(getCellClass(row,column));
    return editor;
    import javax.swing.table.*;
    import java.util.Vector;
    import java.awt.event.MouseEvent;
    import java.util.EventObject;
    public class FAL_TableModel extends DefaultTableModel implements TableModel {
    public FAL_TableModel() {
    this((Vector)null, 0);
    public FAL_TableModel(int numRows, int numColumns) {
    super(numRows,numColumns);
    public FAL_TableModel(Vector columnNames, int numRows) {
    super(columnNames,numRows);
    public FAL_TableModel(Object[] columnNames, int numRows) {
    super(convertToVector(columnNames), numRows);
    public FAL_TableModel(Vector data, Vector columnNames) {
    setDataVector(data, columnNames);
    public FAL_TableModel(Object[][] data, Object[] columnNames) {
    setDataVector(data, columnNames);
         public boolean isCellEditable(int row, int col) {
    //Note that the data/cell address is constant,
    //no matter where the cell appears onscreen.
    Object obj = getValueAt(row,col);
    if (col != 1){
    return false;
         }else{
              return true;
    public Class getCellClass(int row,int col) {
    Object obj = getValueAt(row,col);
    if (obj != null)
         return obj.getClass();
         else
         return Object.class;
    public Object getCellValue(int row,int col) {
    Object obj = getValueAt(row,col);
              return obj;      
    my problem is, when i select an item from one of the comboBox in the table the value of the other cells changes too and i have the same problem with JSpinner.
    please help i am stuck
    Gebi

    and when i try to get the current value oa a cell it returns the Component class like this
    AnswerChoices@bf1f20 ...

  • Got a problem with K7N2G-L

    the problem is the MB doesn't seem to be disabling the onboard video like it should when i attach an expansion card into the agp slot (using an MSI G4MX-TD8X).  i've tried everything i can think of to get the dang thing to post... or at least show it posting.  after i attach the card, w/out reseting the bios or anything, i can hear it post and start windows etc., but just no video.  i returned the last vid card thinking it was a problem with it, but alas when i tried the new one same thing was happening  ;(   my stats on what is currently installed as far as hardware is at the bottom.  but basically my question is this, am i supposed to disable the onboard video via jumper or something? or is it like i think and auto disables it upon connection of expansion card?  possibly a bad  MB (i really hope not as i did a dang good wiring job)?  i emailed MSI support to no avail as of yet, course it's only been like 24 hours, but you'd think they'd have an 800 number or something to contact them.  :(  i did update the bios last night but haven't had a chance to try out installing the vid card yet.  will post back if that ended up working.
    okay, for the specs:
    350 Watt Enermax
    MSI K7N2G-L
    AMD 2200+ XP
    256 Kingtston 333 ram(have another 256 to install after i get things ironed out
    MSI G4MX-TD8X (at least trying to install this, using onboard vid atm)
    D-Link NIC
    board is set to 133FSB, if it's in safe mode it doesn't post at all ?(  hehe.  of course it will post in higher, 166 is highest i've tried and it ran stable, but put back down to 133 for troubleshooting purposes with the vid card :(

    i've thought about that, but with my drives attached and everything, i'm hovering around 200W total... did the math.  but did forget to mention, so far using the onboard video (even with FSB overclocked to 166) haven't had any stability problems with the motherboard, which is why i haven't stripped it out yet to go get another one.  i checked stability w/ 3dmark2k1 and about a 2 hour session of JKII running everything at full, even with quincunx enabled but got choppy a bit with that in parts. and btw, you'd assume correct with me moving the monitor adapter.

  • DateTimeAxis min/max bug? Problems with consistent padding. Date Wrapping.

    I have been working on a problem with a BarChart object that I've created using dynamic data.
    My primary issue is that I can't seem to get the proper min/max values to set for the chart.
    To solve this I manually found the min and max of the data set of Dates and set the min and max of the chart. This allowed me to finally see all the floating custom bars (each bar is rendered with a user set fill), however now if I have a bar that extends over a year change the horizontal axis labels do not wrap the date properly, so instead of 2/10 (feb 2010) being the last date, 12/09 (dec 2009) is the last date.
    I've been trying to dynamically adjust the padding based upon a change event, but so far to no avail. Partially I think because I'm not sure which event for the function to fire on.
    private function dateAxisGen(r:Array):void {
                    var min:Number = r[0].startTime.time;
                    var max:Number = r[0].endTime.time;
                    const PAD:Number = 2;
                    const MILLISEC_IN_MONTH:Number = 2629743830;
                    const MILLISEC_IN_WEEK:Number = 604800000;
                    const MILLISEC_IN_DAY:Number = 864;
                    for (var i:int = 1; i < r.length; i++) {
                        var o:OperationXT = OperationXT(r[i]);
                        min = Math.min(o.startTime.time, min);
                        max = Math.max(o.endTime.time, max);
                    // Calculates the maximum range, then adds an appropriate
                    // padding to the chart via extra time. TODO
                    /* var range:Number = max - min;
                    if(range >= MILLISEC_IN_MONTH) {
                        dAxis.padding = (MILLISEC_IN_WEEK/1000000)/PAD;
                        dAxis.padding = (MILLISEC_IN_WEEK/1000000)/PAD;
                    } else if(range >= MILLISEC_IN_WEEK) {
                        dAxis.padding = (MILLISEC_IN_DAY)/PAD;
                        dAxis.padding = (MILLISEC_IN_DAY)/PAD;
                    } else {
                        dAxis.padding = PAD;
                    dAxis.minimum = new Date(min);
                    dAxis.maximum = new Date(max);
    this, however, does not adjust the padding properly when an operation is removed from the list. Not to mention I still have the date wrapping error. It gives me the following error:
    Cannot access a property or method of a null object reference.
        at mx.charts::AxisRenderer/measureHorizontalGutters()[C:\work\flex\dmv_automation\projects\d atavisualisation\src\mx\charts\AxisRenderer.as:2244]
        at mx.charts::AxisRenderer/calcRotationAndSpacing()[C:\work\flex\dmv_automation\projects\dat avisualisation\src\mx\charts\AxisRenderer.as:1858]
        at mx.charts::AxisRenderer/adjustGutters()[C:\work\flex\dmv_automation\projects\datavisualis ation\src\mx\charts\AxisRenderer.as:1534]
        at mx.charts.chartClasses::CartesianChart/updateAxisLayout()[C:\work\flex\dmv_automation\pro jects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:2239]
        at mx.charts.chartClasses::CartesianChart/updateDisplayList()[C:\work\flex\dmv_automation\pr ojects\datavisualisation\src\mx\charts\chartClasses\CartesianChart.as:1366]
        at mx.core::UIComponent/validateDisplayList()[E:\dev\gumbo_beta2\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8065]
        at mx.managers::LayoutManager/validateDisplayList()[E:\dev\gumbo_beta2\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:663]
        at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\gumbo_beta2\frameworks\projects \framework\src\mx\managers\LayoutManager.as:736]
        at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\gumbo_beta2\frameworks\ projects\framework\src\mx\managers\LayoutManager.as:1069]
    Any help with my problem would be greatly appreciated.
    ADDITIONAL INFO:
    Alright, so I've discovered that the ONLY time the date wrapping error occurs is when the axis labels contain only the month and year, any other time it places it properly.
    Does anyone know where I can report this bug?

    Perre wrote:I'm used to being able to pick one or a couple of songs and then adding it a specified playlist. Is this impossible in sonata?
    It's clearly not impossible, just different than you expect. Create your playlist as you want it to appear in the Current tab (meaning don't dump every single song from your library in there, just the ones you want) and then save the playlist.
    Perre wrote:And if I try to play the m3u file created (the one with every song listed) through freevo I get a message that the directory is empty. What am I doing wrong??
    Look at save_absolute_paths_in_playlists in your mpd.conf.

  • Problem with JPA Implementations and SQL BIGINT in primary keys

    I have a general Question about the mapping of the SQL datatype BIGINT. I discovered, that there are some different behaviour depending on the JPA implementation. I tested with TopLink Essentials (working) and with Hibernate (not working).
    Here is the case:
    Table definition:
    /*==============================================================*/
    /* Table: CmdQueueIn */
    /*==============================================================*/
    create table MTRACKER.CmdQueueIn
    CmdQueueInId bigint not null global autoincrement,
    Type int,
    Cmd varchar(2048),
    CmdState int,
    MLUser bigint not null,
    ExecutionTime timestamp,
    FinishTime timestamp,
    ExecutionServer varchar(64),
    ScheduleString varchar(64),
    RetryCount int,
    ResultMessage varchar(256),
    RecordState int not null default 1,
    CDate timestamp not null default current timestamp,
    MDate timestamp not null default current timestamp,
    constraint PK_CMDQUEUEIN primary key (CmdQueueInId)
    The java class for this table has the following annotation for the primary key field:
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "CmdQueueInId", nullable = false)
    private BigInteger cmdQueueInId;
    When using hibernate 3.2.1 as JPA provider I get the following exception:
    avax.persistence.PersistenceException: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:218)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:176)
    at $Proxy16.persist(Unknown Source)
    at com.trixpert.dao.CmdQueueInDAO.save(CmdQueueInDAO.java:46)
    at com.trixpert.test.dao.CmdQueueInDAOTest.testCreateNewCmd(CmdQueueInDAOTest.java:50)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at
    Caused by: org.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short or string
    at org.hibernate.id.IdentifierGeneratorFactory.get(IdentifierGeneratorFactory.java:59)
    at org.hibernate.id.IdentifierGeneratorFactory.getGeneratedIdentity(IdentifierGeneratorFactory.java:35)
    at org.hibernate.id.IdentityGenerator$BasicDelegate.getResult(IdentityGenerator.java:157)
    at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2108)
    at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2588)
    at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:48)
    at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
    at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:290)
    at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)
    at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)
    at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:131)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:87)
    at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:38)
    at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:618)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:592)
    at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:596)
    at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:212)
    ... 34 more
    This means, that their ID generator does not support java.math.BigInteger as datatype.
    But the code works if I take TopLink essentials as JPA Provider.
    Looking at the spec shows the following:
    In chapter 2.1.4 "If generated primary keys are used, only integral types will be portable." Integral datatypes are byte, short, int, long and char. This would mean, that the Hibernate implementation fits the spec but there seem to be a problem in general with BIGINT datatypes.
    I use a SYBASE database. There it is possible to declare a UNSIGNED BIGINT. The range of numbers is therefore 0 - 2^64 - 1. Since in Java a long is always signed it would mean its range is from -2^63 -1 to 2^63 -1. So a mapping of BIGINT to java.lang.long could result in an overflow.
    The interesting thing is, that I used NetBeans to reverse engineer an existing database schema. It generated for all Primary Keys of Type BIGINT automatically a java.math.BigInteger. But for other fields (not being keys) it mapped BIGINTs to java.lang.long.
    It looks like there are some problems with either the spec itself or the implementation of it. While TopLink seems to handle the problem correctly, Hibernate doesn't. But Hibernate seems to fulfill the spec.
    Is anybody familiar with the Spec reading this and can elaborate a little about this situation?
    Many thanks for your input and feedback.
    Tom

    Not sure if I clearly understand your issue, would be good if you can explain it a bit more clearly.
    "I select a value from LOV and this value don't refresh in the view"
    If you mean ViewObject, check if autoSubmit property is set to true.
    Amit

  • A problem with args[i]

    Hi, I'm totally new to Java and I have a problem with my first program. It has to read the numbers from the input and checks wheter it is a prime number.
    This is what I have so far:
    public class PrimeNumbers
    public static boolean isPrime(int n)
    if (n<2) return false;
    if (n==2||n==3) return true;
    boolean prime=true;
    int limit=(int)Math.sqrt(n);
    for (int i=2; i<=limit; i++)
    if ( n%i==0 )
    prime = false;
         break;
    return prime;
    public static void main ( String[] args )
    int n,i;
    for(i=0;i<=args.length;i++)
    n=args;
    if (isPrime (n))
    System.out.println (n+ "is Prime");
    else
    System.out.println (n+ "is not Prime");
    It shows an error in line : "n=args[i];". Can you tell me how to fix it? Thanks :*

    Integer.parseInt(args)

  • Problems with java constructor: "inconsistent data types" in SQL query

    Hi,
    I tried to define a type "point3d" with some member functions, implemented in java, in my database. Therefor I implemented a class Point3dj.java as you can see it below and loaded it with "loadjava -user ... -resolve -verbose Point3dj.java" into the database.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package spatial.objects;
    import java.sql.*;
    public class Point3dj implements java.sql.SQLData {
    public double x;
    public double y;
    public double z;
    public void readSQL(SQLInput in, String type)
    throws SQLException {
    x = in.readDouble();
    y = in.readDouble();
    z = in.readDouble();
    public void writeSQL(SQLOutput out)
    throws SQLException {
    out.writeDouble(x);
    out.writeDouble(y);
    out.writeDouble(z);
    public String getSQLTypeName() throws SQLException {
    return "Point3dj";
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    public static Point3dj create(double x, double y, double z)
    return new Point3dj(x,y,z);
    public double getNumber()
         return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.z);
    public static double getStaticNumber(double px, double py, double pz)
         return Math.sqrt(px*px+py*py+pz*pz);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Additionally, I created the corresponding type in SQL by
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CREATE OR REPLACE TYPE point3dj AS OBJECT EXTERNAL NAME
    'spatial.objects.Point3dj' LANGUAGE JAVA USING SQLDATA (
    x FLOAT EXTERNAL NAME 'x',
    y FLOAT EXTERNAL NAME 'y',
    z FLOAT EXTERNAL NAME 'z',
    MEMBER FUNCTION getNumber RETURN FLOAT
    EXTERNAL NAME 'getNumber() return double',
    STATIC FUNCTION getStaticNumber(xp FLOAT, yp FLOAT, zp FLOAT) RETURN FLOAT
    EXTERNAL NAME 'getStaticNumber(double, double, double) return double')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After that I tried some SQL commands:
    create table pointsj of point3dj;
    insert into pointsj values (point3dj(2,1,1));
    SELECT x, a.getnumber() FROM pointsj a;Now, the problem:
    Everything works fine, if I delete the constructor
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    in the java class, or if I replace it with a constructor that has no input arguments.
    But with this few code lines in the java file, I get an error when executing the SQL command
    SELECT x, a.getnumber() FROM pointsj a;The Error is:
    "ORA-00932: inconsistent data types: an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class expected, an Oracle type that could not be converted to a java class received"
    I think, there are some problems with the input argument of the constructor, but why? I don't need the constructor in SQL, but it is used by a routine of another java class, so I can't just delete it.
    Can anybody help me? I would be very glad about that since I already tried a lot and also search in forums and so on, but wasn't successful up to new.
    Thanks!

    Dear Avi,
    This makes sense when it is a short code sample (and i think i've done that across various posts), but sometime this is too long to copy/paste, in these cases, i refer to the freely available code samples, as i did above on this forum; here is the quote.
    Look at examples of VARRAY and Nested TABLES of scalar types in the code samples of my book (chapter 8) http://books.elsevier.com/us//digitalpress/us/subindex.asp?maintarget=companions/defaultindividual.asp&isbn=9781555583293&country=United+States&srccode=&ref=&subcode=&head=&pdf=&basiccode=&txtSearch=&SearchField=&operator=&order=&community=digitalpress
    As you can see, i was not even asking people to buy the book, just telling them where to grab the code samples.
    I appreciate your input on this and as always, your contribution to the forum, Kuassi

  • Is Verizon unwilling or unable to fix problem with Account Owner(s)

    A forum or Google search reveals several customers unhappy with how Verizon treats the account owners... count me as one.  I'm sure there are many more customers who were equally unhappy but just accept Verizon's incompetence and complete the unnecessary gymnastics of un-registering accounts and then re-registering with a new username.
    PROBLEM:
    There are numerous scenarios that can cause a My Verizon account to have the Account Owner be listed with an incorrect telephone number.  In my case, I had an account with AT&T and 3 additional numbers associated.  As each account expired, I transferred the numbers to Verizon.  The first account transferred was my 14yr old son.  I registered a My Verizon account for management (my name & my userid) and eventually added the additional numbers, however, the Account Owner's phone number is listed as my son's cell.
    Over the past 2 years (since I migrated to Verizon), I've had small problems with account notifications and other information being text to my son's cell.  I've called numerous times and customer service says it's corrected, but eventually the problems return.  Recently, I upgraded my phone and started using some new services like Backup Assistant and the fact that the Account Owner is associated with an incorrect number has caused even more trouble.
    I simply want to keep my existing username for My Verizon and correct the cell phone number associated as the Account Owner.  This should be extremely simple.
    VERIZON'S SOLUTION:
    "We can't do it".  "Our systems don't allow us to make this change".
    The Customer Service Department (or Lack of Customer Service Department) tells me that since they can't or are unwilling to do the necessary changes, their only solution is to force their customer to do their work.  They will un-register the account and I can register again.  There is no concern for the preferences of an existing customer (almost 3 years); there is no concern for the inconvenience caused to an existing customer who spends hundreds of dollars each month and thousands of dollars each year (I currently have 2 separate accounts with Verizon, 4 phones on my problem account and 4 phones on another for a total of 8 phones with data plans... do the math); there is no concern that I will now have to use a completely different username one that is no longer uniform with my other accounts; there is no concern that I will have to change any and all services that reference My Verizon.  Quite simply... Verizon Wireless shows their Account Owners that they have no concern for us.
    PROPER SOLUTION:
    I have almost 25 years of Information Technology experience and over 3 years working with Call Centers (similar to Verizon's Customer Service), which explains in part why I find this so frustrating...  the fix for this is SIMPLE!!!  The real problem is that Verizon simply doesn't care enough to fix it because we are existing customers and not new customers.
    Without going into specifics (nor could I since I don't have access to their systems), data for the My Verizon portal is contained within modifiable databases.  These relational databases will be tied to other systems and other databases, but a modification of this type would just require that the portal be allowed to make the update to the appropriate field(s) within the appropriate database(s).  If direct access is not attainable because of their design, it is still not too difficult to write an additional process to accommodate this change.  These types of things are done everyday.
    More importantly, even if Verizon was unable or unwilling to make these programming changes...  I have no doubt that if Customer Service has an escalation process to their I.T. Department that a programmer with access to the application(s) and/or database(s) could easily make the change directly and almost immediately.
    CONCLUSION:
    Until now, my experience with Verizon has been mostly positive even to the point of recommending the carrier to friends and family.  I've found their coverage area to meet my needs and the data speeds to be more than satisfactory.  However, Verizon needs to remember that cellular service has essentially become a commodity and that customer retention is often based on other things than simply providing dial tone.  With a monthly cell phone expense that rivals a car payment, I would think that Verizon would be more than willing to accommodate such a simple request to maintain a satisfied customer.
    If you too are one of the many customers having issue with modifying the Account Owner, just resolve yourself that it appears Verizon is unwilling to make the simple correction to the My Verizon portal to satisfy our request.

    I'm not 100% sure that I follow your reasoning, so please correct me if I misstate your opinions.  I've numbered them so it will be easier to identify any mistakes I make.
    1.  Not allowing a user, customer service representative, or any Verizon representative to change the cell phone number associated with the Account Owner to another cell phone number on the same account is a security risk.
    I'm not suggesting that I be allowed to change the name, social security number, or any other pertinent details related to establishing the original account.  All the information pertaining to who is responsible for the bill remains the same with the single exception that the current associated cell phone number be changed to another number already listed on the account.  In what possible manner is this a security risk?  Frankly if the ability was enabled and someone either by mistake or incompetence made such a change the impact would simply be what I'm currently experiencing (inconvenience).  Since in this hypothetical situation the ability to change this value is enabled, the "inconvenience" would easily be re-mediated by returning the value to its original state.
    Furthermore, if there is some "security risk" that I'm over looking then an organization that is concerned about providing quality customer service would create procedures to accommodate customer requests and meet security requirements.  Let's use a bank (with an obvious security vulnerability) and debit cards as an example.  If I lose my debit card, I cannot go to my computer and print out a temporary debit card (very user friendly, but not secure).  Some banks will allow you to go online and cancel the lost debit card while requesting a new one to be mailed to the address you have on file (user friendly and mostly secure).  To solve this same problem at other banks might require you to go into the office and sign a form cancelling the lost debit card and confirming the address to mail you a new one (less user friendly, but highly secure).  The Verizon equivalent, is me requesting that I add an existing bank account to my online banking and being told "We can't do it".  However, because the bank cares so much about keeping me as a customer... they will delete my account, allow me to create another, possibly losing my historical data, have me change my username that I've been using for years, spend time adding all my online bill payments... all for the pleasure of staying their customer and getting to use their services as they should have been designed.
    2.  Making a software change that would allow users or CSR's to associate a different cell phone number on the account to the current Account Owner would be difficult and require downtime.
    You give some time expounding this thought and I'm unaware of your web, application, and/or database experience... but I will try to address your concerns later.  However, let's assume that you are correct and these changes will be difficult ("taking weeks to months").  The purpose of my post was whether Verizon was unwilling or unable to accommodate this customer request.  You seem to be agreeing that Verizon is unwilling to make these changes, or at the very least, feel that Verizon has decided that the time and expense involved is of more importance than correcting an issue impacting their customers.  I personally find the later equally disheartening as this has been an issue for many customers (you yourself mention experiencing the problem) and has been well documented through previous forum and Internet posts.  Even by your estimations, if they had taken previous customer complaints seriously... this would have been fixed by now.  Once again it seems the obvious answer is that Verizon may not consider customer service as an important factor as I do.
    As far as your technology issues, I agree that more than a web page change would be required.  I do take issue with comparing the change of a distributed application (operating system) that must be designed to support enumerable hardware components to the work required to makes changes to a web portal with a back-end in-house database.  You could write an entire book detailing the differences between these two scenarios as they have very little in common, but I'll try to keep it focused to your points.
    Coding
    Coding an Operating System that must run on literally a multitude of hardware configurations and support an unending diversity of applications is an incredible endeavor and really never a finished product.  Changes to an OS are constantly being made and the developers must consider hardware and software that they are not intimately familiar and occasionally even deal with 3rd parties to facilitate changes.
    The change I'm advocating has a web component which would be replicated throughout their web server topology, however, these are items that Verizon's developers deal with routinely (if not daily).  There are a very limited number of 3rd party concerns (a few different browsers, IE, Chrome, Mozilla & a disparate platforms such as PC, tablet, phone).  A little research in the benefits of web portals (and cloud computing) verses distributed applications will clearly outline the drastic differences.  A simple illustrative question (though maybe not a completely fair analogy) is how many people do you know who can code an operating system and how many people get on GoDaddy and create their own web pages.  I'm not trying to insinuate that anyone who knows a little HTML can make the web portal changes, however, this isn't a difficult project for an experienced developer.
    The bigger issues and ones that I alluded to in my original post are the changes that would be required to Verizon's back-end databases.  The changes that would need to be made mostly likely involve multiple databases and assuming they are using a typical relational database design might require changes to key fields, adding new databases/tables, and exhaustive integrity checks.  This isn't something that an average user could sit down and accomplish in an hour, however, these are simply the routine day-to-day duties of any professional database developer.
    Again I reiterate... this change simply involves allowing someone (either a user, CSR, or other Verizon agent) to readily change an index record or records that correlates Account Owner to cell phone number.  In terms of database management this should be simple.
    Debugging & Deployment
    The debugging/testing of changes made to an Operating System are amazingly complex for all the aforementioned reasons.  The deployment of such changes is even more complex in that you've got to develop the mechanism to push these changes out to the entirety of the user community.  I'll address deployment (or as you said dispersal) of this change because it's the easiest... quite simply there isn't one.  The benefit of having a centralized web portal like My Verizon is that users come to you, not the other way around, and any change made will immediately be accessible by the user community.  There is a deployment aspect in that My Verizon doesn't exist on a single web server, but again this is just the typical topology for a portal of this size and not relevant to our discussion.  Debugging/Testing is an important aspect of any change and certainly Verizon has this methodology in place, however, I'll reiterate that this change should not be complex and shouldn't require extensive testing.  We've also already discussed the fact that any debugging/testing only has to take place on a limited number of platforms.
    Downtime
    If adding the ability to change the relationship of the Account Owner to an associated cell phone number requires any downtime... the person responsible for Verizon's Development, Beta, and Production environments should be fired.  There is simply no way this is even a possible concern.  I've dealt with many companies with far less resources than Verizon and I assure you that changes of this nature would never require down time.  I'm sure they have staff in place whose sole responsibility is to work on their continuity plan.  This is a non issue.
    Other Carriers
    You can't possibly know how all carriers operate, though you may have some past experience with other companies.  I would contend (and maybe I'm too optimistic) that a company with a focus on customer satisfaction when made aware of complaints and/or limitations in their service would seek to rectify the issue.  It's quite possible that whatever other company you are referencing has fixed this issue if indeed it was similar... especially since I've hopefully bolstered my opinion that the resolution is not overly complicated.
    Would you mind telling me if you deleted your 2 original comments to my post before I had an opportunity to answer?  The reason I ask is that last night another user (jimfitzgerald) had posted a comment and I replied.  He later posted a 2nd comment and while writing my response... all the posts were removed (his 2 posts, my reply, and your 2 posts).  I'm curious if this was just a user withdrawal (though I really wish my response had remained in the thread), if there was some sort of technical issue with these forums last night, or if my response was deleted for cause by Verizon or other admin.   Thanks!

Maybe you are looking for

  • WF-Batch id needs to be changed on runtime with the user email id.

    Hi All, I have a requirement where i have to send an email through workflow, but in the from i have to pass the employee responsible email id. I got the email id in a container. Now how can i replace WF-Batch ( i.e. by default) with the user email id

  • How to embed URL (Longer than 60 Chars) into CRM-Web UI

    Hello i would like to have a textfield with an URL embeded into the Incident UI So far i managed to create the Char-Field and fill it with the URL Unfortunately the generated Fields are limited to 60 Chars, but i need 100 for the URL with all paramet

  • Linking between portlets

    Can anyone describe how to create a link in one portlet that updates the data in another portlet on the same page.

  • How to deploy and run JDev 3.1 App using physical 3-tier Architecure

    We have developed a business application in JDev using 3-tier approach. There is a business component project and a separate client application project in our workspace. Now we want to deploy these projects on separate machines to take full advantage

  • Foriegn exchange configuration in ECC 6

    Hi Experts, As per my knowledge i have done the following settings. 1.Define Accounting Principles - GAAP 2.Assign Accounting Principle to Ledger Groups- GAAP- L5 ( Ledger) 3. Creation valuation methods -OB59 4. Define Valuation areas. 5. maintain th