Cannot view in JPanel

I have problem in my security class which can retrieve quan intances from accountability
class but cannot view in JPanel in Security. It can view in console but not in JPanel.
Is anybody could help me with this. I have the codes below.
public Security{        
public void evalAccountability(double quan){                           
System.out.println("Security quan:"+quan);              
if(quan== 0.0){                   
text = "No element implemented";              }              
if(quan> 0.0 && quan< 1){                   
text = "Medium num of element implemented";              }                   
if(quan== 1.0){                   
text = "No element implemented";              }                            
chars2chk.setSelected(true);              
chars2sco.setText(new Double(quan).toString());              
chars2res.setText(text);                            
out.println("<Accountability>");              
out.println("<ElementNumber>");              
out.println(quan);              
out.println("</ElementNumber>");              
out.println("<Quantifier>");              
out.println(quan);              
out.println("</Quantifier>");              
out.println("</Accountability>");   }}
public accountability{     
public void calculateAcct(){          
double weight = 0.55;          
double quantifier;                    
quantifier = (weight * (double)count)/4;               
System.out.println("Quantifier = " + quantifier);     
Security test=new Security();     
test.evalAccountability(quantifier);     }}i just have a few days left to submit my program but i couldn't figure out how to solve this.

anybody can help me??

Similar Messages

  • When I save an image on my ipod touch 3rd gen then go to the photos, the library updates/rebuilds, then I cannot view the picture as it just comes up as a picture of a grey camera that says JPG.  It never used to do this, how do I fix it?

    I go to save a picture (bu holding my finger down on the image, then pressing save image, when the option comes up), and then go to the photos to view the picture, its says updating library and takes about a minute to finish loading and rebuilding/updating the library.  After it has finished updating the library I cannot view the picture I saved because it comes up as a picture of a grey camera that says JPG (I assume this is some sort of file, because if i save multiple pictures only one JPG, gery camera image shows up.) My ipod never used to do this.  Any idea on how to fix it?

    Try a manual install following directions in link below.
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD  120G Vertex 3 SSD Boot HD  

  • I cannot view my iphone device when i connect to computer itunes

    I have an iPhone 4S device and every time I plug it into my computer, I have to manually open my iTunes up. Once my iTunes has loaded and is up and running though, I still cannot view my iPhone in devices?? My iTunes seems to not recognise or acknowledge my iPhone even though this was the computer I orignally synced my phone with? Help! I've not been able to add music or anything to my phone for almost a year now and have still not found the solution :-(
    anyone with the same problem or know the answer??

    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591

  • XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • I cannot view my videos after upgrading to OSX

    I cannot view my videos after upgrading to OSX. Each video I try to open the message on the black background is Blocked Plug-In. In system preferences I have the latest Java but Flash Player does not upgrade to Flash 12 after numerous attempts.

    HI MortenEJ,
    Thanks for your responce.but already done doing "Restore factory settings" .. and when Im doing "back up from" ..
    I still encounter the same problem. I have important messages in my inbox I want to keep. 
    I even try to upgrade to the newest version. IOS 5.0.1. but still the same..My main problem is my contacts. I dont have "+" add contact button and inside each contact.. I dont have the "edit" button..

  • Cannot view msgs after upgrading to IOS8

    Cannot view msgs after upgrading to IOS8..I get the msgs but cannot open them..the screen just goes blank
    I tried restarting..back up ..using a different sim..everything but nothing is working
    can anyone help urgently its affecting my business big time
    Thanks

    I am having this same issue. I live in Korea and changing the language to Korean made the messages searchable, but when I changed back to  English, the problem returned and I was unable to search all my messages via the search window in the messages app, but then, after about 5 minutes, the messages app crashed, and after that, the problem was resolved. Gotta sat that I'm so far unimpressed with ios 8; seemingly not ready for Primetime.

  • Cannot view the collaboration in the home page

    Hello,
    I cannot view the collaboration button in the home page for the application sharing. Can anyone help me out where to configure.
    Thanks.
    Regards,
    Murali

    hi Chintu,
    check the 'add records' beside 'transferred records',
    and have you activated data ?
    ods keyfields will determine the update.
    check
    http://help.sap.com/saphelp_nw2004s/helpdata/en/4a/e71f39488fee0ce10000000a114084/frameset.htm
    Additional restrictions:
    -         You can create a maximum of 16 key fields (if you have more key fields, you can combine fields using a routine for a key field (concatenate).)
    -         You can create a maximum of 749 fields
    -         You can use 1962 bytes (minus 44 bytes for the change log)
    -         You cannot include key figures as key fields
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/45503c242b4a67e10000000a114084/frameset.htm
    hope this helps.

  • Cannot view SWF ebook in full pages

    After I export my ebook to a swf file and then view the html file of it, I can only see one page at a time. Originally I had two pages side by side and able to use page turns and everything worked. I had a few changes to be made and now after the changes I cannot view it in a 2page spread. I checked the document setup, thinking it had to do with facing pages, but that wasn't the issue. Any other thoughts why this is happening?
    I also tried creating a new ebook and the same thing happened... Is there a setting I have that needs to be changed?
    Thanks in advanced!
    ( i am using indesign 5.5 on a mac)
    here are my exporting and document settings: (let me know if you need any other info)

    Probably your swf file does not link to the xml file in the repository.  To check the link to the xml file - look at the properties on the xml file.  Try putting the access link for the xml file in your swf.
    regards,
    bjorn

  • Cannot view BLOB datatypes in Oracle10g

    After a successful upgrade from Oracle8i to Oracle10g, I cannot view tables with BLOB datatypes. I'm getting the following error in SQL*PLUS upon quering the table:
    SP2-0678: Column or attribute type can not be displayed by SQL*Plus
    When i try to do the same thing from TOAD, I'm getting this error instead:
    A Query with LOB's requires OC18 mode, but OC17 mode is used.
    I have also tried to create a new table with BLOB datatype (since i thought the culprit was a broken migrated data) but I got the same error. What am I missing here????

    Hy,
    you never could view blobs via sqlplus
    you only could use utl_raw.cast_to_varchar2 if there ist text inside your blobs.
    regard
    Martin

  • Cannot view News folder in the Production

    Hello,
    We are using 3 portals. One is Development, Quality and Production. In the Quality and Production on the home page we view New News with jpgs on the home page but with the same settings we cannot view in the Development Home page. Can anyone tell his solution.
    cheers
    kris

    Hi Murali,
    Something else that may be happening here...
    The /etc repository is a file system repository.  Is it possible that you've got the read-only flag set at the OS level?
    You can find the /etc repository (in NW04) at:
    <DRIVE>:\usr\sap\<SID>\SYS\global\config\cm\etc
    Regards,
    Graham.

  • Cannot view Apple TV in iTunes, why not?

    Hi, All, just updated to a new Apple TV , looks great, however, I cannot view the box as I could with the previous box in iTunes.  I have Wireless hookup.  Any suggestions would be much appreciated.

    The current Apple TV does not show up in iTunes as there is no sync capabilities. You send content from your Mac using home sharing (computer must be on and running iTunes)
    You can also stream directly from an IOS device using airplay.

  • I cannot view my site in browser or publish my site after 2014.3 update

    Hi,
    I updated to 2014.3 and cannot view my site in browser or publish. I see that alot of other people are having issues. Can you please assist. This is very frustrating.
    I am using OS X Yosemite 10.10.2.
    Thank you
    Brett

    Hi Sanjit,
    I cannot even publish the site. Muse crashes when I try to view site in browser and it crashes when I try to publish the site. It is not the browsers - yes I have tried. It has only happened since I updated to 2014.3 - just like everyone else having problems. This is a problem with the update. I can make a new site in the new release and it works - however all existing sites built before 2014.3 release is no good. This a big problem that needs sorting out. I should not have to rebuild everything again. I have sent my muse file via dropbox, as I have seen other people having trouble being asked to send the file through and it will be looked at. The url is http://australiasnaturecoast.businesscatalyst.com/ . This is not the correct version as I made a new site in the new muse update. I need my original version to work. I have tried uninstall and reinstall of Muse and this has not helped.
    Thanks

  • Cannot view pdf files in browser

    brand new imac cannot view PDF files in browser but the PDF's can be viewed if downloaded. All the data in the PDF online have question marks instead, maybe a missing font issue?

    Have Adobe Reader installed? If so, disable the AdobePDFViewer.plugin resident in /Library/Internet Plug-Ins., restart, and try again. For font-associated issues, peruse Font Management in OS X

  • LR 3.6 cannot view photos in film strip in Library mode.  Can view photos on Develop setting.

    On LR 3.6 I cannot view my photos on the film strip in the LIBRARY setting.  On DEVELOP I can view on photo at a time on the film strip (the rest of the photos are not viewable).  This is a new problem which has only occured on the last two imports. 

    Sounds like a corrupted preview cache.  Close LR and find the catalog on the hard drive.  Rename the lrdata folder (Windows) / file (Mac) - don't touch the lrcat catalog file.  Then open LR and see if the previews reappear.  If they do, select all in Grid view tonight when you go to bed and go to Library menu > Previews > Render Standard Sized Previews - it take a long time so it's worth running overnight.  If everything looks good in the morning, you can delete the lrdata folder (Windows) / file (Mac) that you renamed earlier.

  • Cannot view PDF in Acrobat due to IE  EPM.Acrobat 11.0.9. EPM is disabled in IE 9. Anyone know why?

    Cannot view PDF in Acrobat due to IE  EPM.Acrobat 11.0.9. EPM is disabled in IE 9. Anyone know why?

    Hi Kswron,
    Have you tried to upgrade IE to 10. I would suggest to install latest updates to IE and upgrade to 10 and check the issue again.
    Regards,
    Ajlan Huda.

Maybe you are looking for