Programming :: Unable To Check / Uncheck Any Box

Apr 12, 2010

I'm messing with a JTree, I need one that has checkboxes to check/uncheck options, and (later) textboxes to edit options....but for now, the checkboxes don't wanna play. Here's the source:

package Habitat.EnvCtrl;
import java.awt.BorderLayout;import MailPopper.hlprs.CheckBoxNode;
import java.awt.Dimension;
import java.util.Vector;
import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;
import javax.swing.JScrollPane;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
import javax.swing.tree.TreeNode; .....

The rtree builds (albeit I have a superfluous extra checkbox in there I don't know where it comes from...) but I cannot check/uncheck any boxes.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Check Or Uncheck Boxes That Say 'Source Code' In Software Sources Window?

Nov 7, 2010

Should I check or uncheck boxes that say 'Source Code' in Software Sources window?

View 3 Replies View Related

Ubuntu Installation :: 10.10 Update - Update Manager Check Packages Again After Uncheck

Nov 6, 2010

I just installed ubuntu 10.10, and im triying to update, when i uncheck the packages that i dont want and click on the "install updates" button in the update manager, the update manager check it again and download the packages that i dont want

View 1 Replies View Related

Ubuntu :: Unable To Uncheck Update Box In Software Manager / Enable This?

Jun 23, 2011

I've run in to a weird problem where i cant uncheck the "pre-released updates" box...I had recently checked it to get a glimpse at what kinds of updates would be available with the option checked so i tried it and updated my repository. The problem is now i cant uncheck it again or any of the options for that matter. Is there a way to reset the repository settings to default?

I also would like to know if kde keeps a history of installed packages..since i couldnt uncheck the box i went ahead and installed everything thinking it might let me uncheck it afterwards (stupid i know), but seeing as how im pretty newbie, i dont want to take the chances of some package breaking

the box im referring to can be found here code...

View 3 Replies View Related

Programming :: Check Menu & Check List In Utility Dialog?

Aug 19, 2010

I want to put check menu & check list in utility dialog.i dont know how i do this

View 1 Replies View Related

Fedora Installation :: Cannot Uncheck Usb Drive

Aug 17, 2010

im installing fedora13. I need to install it as multi boot. I used a live cd to load up the live version of fedora on my computer and i started the installation setup. The problems im facing are: I cannot uncheck my usb drive when the setup asks me where do i need to install fedora. When i select "shrink current system" it shows my hard drive but says it has 0 bytes. I cannot proceed further because of the above problems.

View 2 Replies View Related

Networking :: Uncheck Workoffline Permanently ?

Oct 13, 2010

I am using fedora 12.every time when i start my browser which is firefox 3.5.4 ,i need to unchecked WORK OFFLINE. is there any way to permanently unchecked this.

View 2 Replies View Related

Ubuntu :: Uncheck Work Offline In Firefox?

Apr 4, 2011

When I try to access the internet after I turn on my machine I get a message that I cannot access the internet due to my work offline is checked. After I uncheck it and try again, still no luck.

View 3 Replies View Related

General :: Uncheck Option To Synchronize Clock With UTC?

Apr 7, 2011

how to uncheck option to synchronize clock with UTC. This option is being asked at installation time. I couldn't remember text correctly but above text will give you hint. how can I uncheck that option using command.

View 4 Replies View Related

CentOS 5 :: PC / Desktop What Services To Stop And Uncheck?

Jul 29, 2009

Just installed 5.3/gnome.I am on pc/desktop with only wired internet connection via routerto dsl-modem. The OS sets-up the "eth0" automatically.For just this type of setup what services can I disable and uncheck ? In System>Admin.>Services I unchecked and disabled bluetooth,isdn,pcscd and sshd. Should I disable sendmail, avahi-daemon, portmap,rpcidmapd,rpcgssd and.apmd(no laptop)? Goal is to minimize unneeded services and improve security. The wiki article on securing CentOS did not cover this.Under System>Security Level Configuration I allow ftp,Mail(smtp), and WWW(HTTP). Is the ftp allowed ok for my pc/desktop?

View 3 Replies View Related

OpenSUSE Install :: Uncheck Show_desktop Mouse Pointer Changes To Moving Circle?

Nov 28, 2009

I am creating an openSUSE 11.2 Kiosk image. I have everything pretty much locked down but when I go into the gconf-editor under /apps/nautilius/preferences/show_desktop and uncheck the check box my mouse pointer changes to the circle icon that looks like it moves in a circle. Sortta like the busy or what it does during boot. Hard to describe by typing it out but if you make that change you'll see what I am talking about. I had this setup like this in previous versions of openSUSE so I am not sure what it is doing or what else I need to do to make the mouse pointer just the arrow like normally. I don't want the users to be able to right-click on the desktops to get a menu nor add icons so unchecking the show_desktop has served my needs.

View 3 Replies View Related

Ubuntu One :: Uncheck The Sync Option In Nautilus, The Loader Next To It Spins Endlessly?

Dec 16, 2010

I have been having some issues with Ubuntu One. I am running Ubuntu 10.10 Maverick. For some reason, Nautilus tells me that Ubuntu's default Videos folder (there is data in this folder) is synced on Ubuntu One when it is not. I have checked on the Ubuntu One website, and the site says the Videos folder is not synced (Ubuntu One's website does not show the Videos folder under "my synced folders"). When I attempt to uncheck the sync option in Nautilus, the loader next to it spins endlessly, or Nautilus gives me an error that it can not sync the folder.

View 3 Replies View Related

Hardware :: Unable To Check The Replication?

Jan 18, 2011

I have a fedora 8 server and I just wanted to install fedora directory server I got it install and running, but I'm unable to check the replication and also it seems that I has no database when I user fedora-console-idm.[URL].. Also the same thing happens at the web tool. Any ideas? I think there is no db set, but I have no idea how to do this on fedora-ds. I'm new to it.

View 1 Replies View Related

Ubuntu Installation :: Can't Uncheck Proposed Or Usupported Boxes In Kubuntu Updates Sorftware Sources

Aug 1, 2011

In KPackageKit I can't uncheck the 'Proposed updates' or the 'Unsupported updates' boxes in the 'Kubuntu updates' section of the 'Updates' tab of the 'Software Sources' window (brought up by clicking on the 'Edit Origins' button in the 'Settings' tab of 'KPackageKit'). [URL]

View 2 Replies View Related

Programming :: Check If There Is Such A Value In The Database

Feb 10, 2010

sql statement. I am trying to check if there is such a value in the database.

Code:
string NewMovie = "ww";
string queryText ;
queryText = "Select * from movie_info WHERE movie_title = '"+ NewTitle +"'";
MYSQL *conn;
conn=mysql_init(NULL);
mysql_real_connect(conn,host,username,password,database,0,NULL,0);
[Code]......

return 0; The problem i am facing is how do i check if the value is found. I read up and found that a query will return a value of TRUE if the query is a success and a FAIL if there is an error. How do i call these values and then based the check on it?

View 1 Replies View Related

Programming :: How To Check The Environment

Jul 22, 2011

I have written a tiny script for kernel compilation, which call menuconfig and then compile the kernel. It is working fine. Now I like to test my environment and if it is shell menuconfig will be called and if X then xconfig will be called. How can I check the environment then?

View 7 Replies View Related

Programming :: Check If $var Is Not Start With 0

May 25, 2010

I need to check if $var is not start with 0

Code:
read var
if [ $var IS NOT START WITH 0 (or something like 006077) ];then echo 'Good'

View 15 Replies View Related

Debian :: Unable To Check Status Of A Cups Printer?

Oct 15, 2010

I'm using Debian squeeze and for an assignement, i have create 2 virtual pdf cups printers. Both are working very well. To test the different administion command; i try to disable one of the printer and move his queue file to the second one. I'm able to do it easily.

Now, i wish to write a bash script that wil test the status of the printer. So that,if the printer is disable, it just execute the "move" script. Is there a way to know the status of a cups printer and use that information in a script?

For example, a command/function that can return "O" is the cups printer is enable and "1" if not.

View 1 Replies View Related

Ubuntu Servers :: Unable To Check Htaccess File

Mar 10, 2010

I looked at my apache2 logs. Code:[Wed Mar 10 01:56:34 2010] [crit] [client 192.168.1.100] (13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable the server is located at /etc/apache2 the default place.

View 1 Replies View Related

Ubuntu :: Update Manager Unable To Check Repositories

Oct 1, 2010

I have just re-installed Ubuntu 10.04. -The installation went smoothly, completing in approximately 25-30 minutes. All of my hardware, including keyboard, mouse, monitor and network interface has been detected and works properly. I am currently using the machine to type this. I can browse the web using Mozilla Firefox. My network connection does not start and stop; the machine remains connected with no indication that there is a fault with the NIC, and so on. I am able to download files at 150-170kB/s as is normal for me with Firefox.

I have not yet installed a graphical user interface to configure the firewall. I have not in any way worked with any system files. I am using the same hardware that I have used for approximately one year before this with no incident. I first encountered this with my previous install at approximately 3:00 AM (local time,) when I manually started Update Manager and attempted to check for updates in the default repositories. I have not altered the repository list in either the previous install or this new install. The Update Manager is entirely default.

Upon checking for updates, the list of repositories hangs after I believe at least ten lists have been checked. All of the lists checked before this hangup read "0 B" in the downloaded section of the window. It appears that upon checking for updates, no actual data is transferred to my computer. Again, after going through several of the default repo lists, the entire process halts. A wait of approximately ten minutes still reads that the process has not continued. -During this time I am able to browse the web using Firefox, and the OS seems to be responsive and otherwise functional. There is not a slow response from the keyboard or mouse, there are also no graphics glitches. Again, this problem first occurred with my previous install of Ubuntu 10.04, which was up-to-date as of approximately midnight last night. I have reinstalled the OS and the problem persists. The symptoms of this problem are consistent between my previous install and the reinstall.

View 9 Replies View Related

Hardware :: Installed But Unable To Check Raid Health?

Apr 20, 2010

i have edge server. raid(5) have been installed but not able to check raid health. using command line able to.but using monitoring tool opsview, showing error -NRPE: Unable to read outpumachine Arch- 64 bit centos -5.2
package installed -MegaCli-2.00.15-1.i386.rpm

View 2 Replies View Related

Programming :: Check If Any Directories Exist, Except A Certain One?

Aug 5, 2010

I need to find if, in a folder any directories exist, except a certain one named "mes croquis".What I am trying to say, is that the re already is a directory named "my croquis", which I have to ignore. IF any other directory appears, I have to archive them.I got everything so far, except the starting condition.In other terms , I am lookign for something like this:

IF anyDir EXIST AND name != "mes croquis"
do something
else

[code]....

View 2 Replies View Related

Programming :: Check If The Variable Is A Number Or Not

Apr 30, 2011

I've created (as a homework) to create as many folders as told but I still need to check if the variable is a number or not :

Code: #!/bin/sh
echo "Veuillez saisir un nombre"; read nmbr
nmbrf=$nmbr
while [ $nmbrf -gt 0 ]
do mkdir -p "foo$nmbrf"
nmbrf=`expr $nmbrf - 1`
echo "$nmbrf"

how do I check that nmbr is a number or something else?

View 1 Replies View Related

Programming :: Check Whether The First Character Is TAB Or Space?

May 11, 2011

I have a file with one line. I want to check whether the first character is TAB or space, how can i do this.? using "cut" wont as it "bypasses the tab and space characters"

View 3 Replies View Related

Programming :: Check The Db For Some Value And Run Some Functions To Do Some Checks?

May 15, 2011

have an application where from time to time I need to check the db for some value and run some functions to do some checks. is the best option do it as php daemon or cron job?Whatworried of cron job is the overalapping.

View 9 Replies View Related

Programming :: Check If Log File Is A Certain Size?

Mar 25, 2010

script that will check if my log file is a certain size? EX: I want to limit the size of my rsync log to say 5MB, if that's true I would move it and create a new one.

View 4 Replies View Related

Programming :: C++ Check If Pointer Is Deleted?

Apr 24, 2011

Is it possible to check if a pointer is deleted in C++ (using GDB)? For example:

Code:
a = new Thing();
b = a;
delete a;

// If all I have is the variable "b", how can I tell if it was deleted?

View 14 Replies View Related

Programming :: Check Server Load Via Php?

Mar 4, 2011

We have 7 webservers running in a cluster, and I have zenoss running which does monitor space, network, even performance, but I would like a nice small webpage that I could break into just a few rows of a table. I would like to be able to simple do a reload every 30/60 seconds, and just have the following;row1: server load, memory userow2: server load, memory useBefore the row, if the load > x change the css to make it red (so I could notice it), etc. The css, the refresh, etc. is all simple, I am jut wondering how I could go about getting the load and memory use from PHP.I could setup a bash script that could get the info and spit it to a file as a last resort, but curious if there was a more direct way.

View 3 Replies View Related

Programming :: Check Available Space On A Directory With C++?

Sep 23, 2010

i'm using c++ and Ubuntu and I need to write/copy some files to a directory chosen by the user of my system (the user can save it on any folder of any disk of the pc or other usb device). Before I do it, I need to know if there's space available on the disk. I cannot only check the result of write() function, the validation must be executed before I start to save or copy.

I was trying to use statvsf structure, but I only have the complete filepath (/home/lobinho/myDocs/), not the disk path. The statvfs() function only works with disk path (i.e. /media/KINGSTON ).

The source of my function:

Code:
int MyClass::availableSpace(string dst, ulong* availableSize) {
int result = ERROR;
try {
struct statvfs devData;

[Code]...

View 4 Replies View Related

Programming :: How To Check For Empty Variables In PHP

Apr 26, 2010

I want to check if a MySQL db query will return an empty result - I first do this:

$query="SELECT * from <whatever" ;
$result=mysql_query($query) ;
$row=mysql_fetch_row($result) ;

Now how do I check if $row is empty or not? Will $row="" do the trick?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved