Yet another question on code optimization

Hello again
Sorry for asking too many questions, but I really want to learn how to simplify my work.
Let's say I have this ArrayList that gets initialized every time a user clicks on a new combobox item and a set of numbers are added to it. I then add this arrayList to another arraylist that is initialized outside of the actionlistener class.
So basically every time the user clicks the inner arraylist is added to outer arraylist. But I don't want to have duplicate results if the user chooses to go back to the previous JTextAreas and delete the contents to start typing new stuff. The way i am doing this is like this:
ArrayList<String> filler = new ArrayList<String>(); //The filler that has to be unique, so the user won't screw with the pattern
filler.add("A*?1qkQOz]4X1QedyhA`H-6$U[I{]0n<RT.W})(J+z7o.<q[g5[y0YA2tv+c@WN");
//For each JtextArea object add a filler so that no Nullpointerexception happens with the use of arraylist.set()method....
for (int i = 0; i <textAreaObjs.size(); i ++){
     allValues.add(filler);
//Replace the unique filler with the actual user input saved in innerList which is of type ArrayList.               
allValues.set(textCounter,innerList);
//Remove all the unnecessary fillers
for (int outerArrayCounter = 0; outerArrayCounter < allValues.size(); outerArrayCounter ++){
     for (int innerArrayCounter = 0; innerArrayCounter < allValues.get(outerArrayCounter).size(); j++){
          if (allValues.get(outerArrayCounter).get(innerArrayCounter).equals("A*?1qkQOz]4X1QedyhA`H-6$U[I{]0n<RT.W})(J+z7o.<q[g5[y0YA2tv+c@WN")){
               allValues.remove(outerArrayCounter);
               outerArrayCounter--;
               break;
}I tried the different methods of the ArrayList like arraylist.set() and if there is a null at this location: do this, if not do something else but they returned Nullpointerexceptions...
I tried the isEmpty method too but that only checks to see if the whole list is empty and not specific parts of the array....
Is there a better, faster, and simpler way of doing this?
Thanks for the help.

I thought this might help... an example of a Sorted[Descending]Map of Lists... I didn't tackle the "frequency aspect" I just generated a random "key" for the map... and a random string to stuff in the Word...
I presume your Word is {String word, int lineNumber, int startIndex} from the source-document... and now you need to query your frequency table for "the most common word" or maybe "the top five words".
You can fill in the blanks.
... and BTW... If I where doing this for real I'd be awfully tempted to extend TreeMap into a "generic" DescendingTreeMap, which I would stick somewhere in my common utils package, from whence it could be reused in future by myself and others.
If you want the code for krc.utilz.RandomString just ask.
package forums;
import java.util.Collections;
import java.util.Collection;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.Comparator;
import java.util.Random;
import krc.utilz.RandomString;
public class SortedDescendingMap
  private static final RandomString RANDOM_STRING = new RandomString();
  private static final Random RANDOM = new Random();
  private class DescendingIntegerComparator implements Comparator<Integer>
    @Override
    public int compare(Integer a, Integer b) {
      return -1 * a.compareTo(b);
    @Override
    public boolean equals(Object o) {
      return this == o; // yes I do mean reference-equals.
  private class Word
    private final String word;
    public Word() {
      this.word = RANDOM_STRING.nextString(5);
    @Override
    public String toString() {
      return this.word;
  private final SortedMap <Integer,List<Word>> freqTable;
  private SortedDescendingMap() {
    freqTable = new TreeMap<Integer,List<Word>>(new DescendingIntegerComparator());
  private void populate() {
    for (int i=0; i<50; i++) {
      List<Word> list = new ArrayList<Word>();
      for (int j=1; j<=5; j++) {
        list.add(new Word());
      freqTable.put(RANDOM.nextInt(5), list);
  private void print() {
    for ( Map.Entry<Integer,List<Word>> entry : freqTable.entrySet() ) {
      System.out.println(entry.getKey()+": "+entry.getValue());
  public static void main(String[] args) {
    try {
      SortedDescendingMap map = new SortedDescendingMap();
      map.populate();
      map.print();
    } catch (Exception e) {
      e.printStackTrace();
}This doesn't mean that I like you, and you're still a Putz! ;-)
Cheers. Keith.

Similar Messages

  • Yet another question about super raid - GS70

    Yes, another question about Super Raid...I recently picked up the cheapest model of the GS70 on newegg which comes with 1 mSata SSD...just a mediocre one if I remember reading correctly.  I'm interested in using MSI's Super Raid once my warranty is over with and have been reading a couple posts here:
    1. Walk through of how to reinstall OS
    --> https://forum-en.msi.com/index.php?topic=167198.msg1224063#msg1224063
    2. I'll need a Super Raid card with links to get some, for about $100 each
    --> https://forum-en.msi.com/index.php?topic=171722.msg1252847#msg1252847
    3. I can't get Super Raid unless it originally came with it?
    --> https://forum-en.msi.com/index.php?topic=171185.msg1249640#msg1249640
    So what's the bottom line? Would I still be able to enable super raid in the future or am I SOL since it didn't come with it originally?
    thanks!

    The GT70 CAN come with an adapter that has 2 (on the older, GT70 0NX models) or 3 (on newer GT70 20X models) sockets for mSATA drives. It's an optional part, that takes place of the primary SATA drive in the notebook, and physically has a different part that connects to the motherboard. If it doesn't come with the SuperRaid adapter, then it just has support for a single 2.5" SATA drive.
    The GS70 on the otherhand, has this built into the motherboard and there is no swapping it out for a normal 2.5" SATA drive. You can only use mSATA drives (on those ports). The GS70 is meant to be an ultrabook, and therefore does not have the same ability as the GT70 to house up to 2 full size 2.5" SATA drives.
    That's really the main difference here. Without physically seeing a GT70 to see how the SuperRaid adapter works, it's slightly difficult to explain.
    But in the end, I wouldn't worry about the SuperRaid....The GS70 should have support for Intel Raid Management Engine, in which case that's all you really need.

  • Yet another "Can I better optimize my iMac or is it time to buy a new one" question

    Machine Specs:
    Processor: 2.4 GHz Intel Core Duo
    Memory: 3 GB 800 MHz DDR2 SDRAM
    OS X 10.9.2
    My iMac has become cripplingly slow, and I need to decide whether there's anything I can do to fix this or if it's just old and I need a new machine. I am not using the computer for heavy graphics, but opening more than one browser version causes the SBBOD (spinning beach ball of death) -- that happens even when I try to open a new browser tab, and wait forever for applications to open. I have to edit one photo a time in Photoshop Express because it will slow down too much. I thought the problem might be disc space and moved all of my music to an external hard drive; it didn't help. I am only using the machine for internet, productivity apps (mostly writing), occasional Photoshop use; I use it daily but only evenings. I realize that despite being an early adopter I tend to try to run my electronics longer than most but it doesn't seem right that I've reached the end of the line on this particular computer.
    Any suggestions, thoughts, advice would be appreciated.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */  /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/d;/(etc|Preferences|Launch[AD].+)\//s/^\.\/[^/]+//p;' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n  "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n  [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n  ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' 's/0/Off/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;D12 26 48 59 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Yet another question; sorry, I'm a newbie

    My first podcast is up--I can access it through the link apple provided, plus if I search, but not through browsing. When will it show up? How does it get featured?
    Also, mine is a video podcast. Not sure whether it's listed as a video podcast. I used feedforall to code the rss. How can I get it to differentiate and tell itunes it's a video podcast vs. an audio one?
    Thanks again.

    thanks again, Brian. I also just read your reply to my second question, which clarified the link thing. I think, I get it--I'm a newbie so, just want to make sure I totally understand.
    So, hypothetically, the xml file (code) can be inside my regular index.com page and the enclosure can be a direct link to the file playing?
    IN the future, I'm planning on having a new vodcast every day, five times a week. If I keep the encoded video files in a folder (let's say, called rss), then all the <link> files can just be my url (which is my index.com) page, but each of the <enclosure> links will be a direct link to each of the videos in the rss folder? Is this correct?
    Thanks again.

  • Yet another question on formats

    Dear all,
    I've finally finished my first movie and am now trying to export it. However, I do have some format questions which I am struggling with.
    For a little backgroud, the event I need to make a movie on was shot with two different cameras.
    I have 3 sequences which I now need to export in a single one for later use with iDVD...
    I have 2 videos (sequences) with this format: 720x576 25fps DV-PAL (CCIR 601)
    (camera 1) and another one I ripped from a dvd with dvdremaster (camera 2) . I converted the VOBs into a 1024x576 25fps H.264 Square sequence.
    Since both formats are not the same, I did want to use a virgin sequence with a 1024x576 format and put the 720x576 on it with a little transition effect...
    However, I'm unable to create a 1024x576 H.264 sequence in FCE!
    I can use a 576 sequence and then export using customized settings but the image-s height gets compressed...
    What can I do to cut the movie so that the 1024x576 takes the full frame and that the 720x576 only takes what is necessarz?
    Any other suggestions?
    Cheers & Thanks
    Paulo

    Hi and welcome to the forum,
    FCE does not support 1024x576 footage. You should first convert it using something like [MPEG Streamclip|http://www.squared5.com> to a frame-size FCE does support like 1280x720 at a format it supports like Apple Intermediate Codec. You can then combine both clips in a 1280x720 sequence.

  • Yet another question about burners for iDVD 6

    It's not my intention to be redundant and the question about which DVD burners are compatible with the most recent release of iDVD has been asked a few times since iLife '06 was released at MacWorld last week. Yet, though Apple has announced it, why have they not posted a list of compatible devices?
    Or, is the onus on the manufacturers to certify that their burners are compatible with iDVD 6?
    In either case, has anyone determined if this information is available and, if so, where?
    Thanks.

    Or, is the onus on the manufacturers to certify that their burners are compatible with iDVD 6?
    Check with the support sections of the manufacturer's websites - after all, THEY are the ones trying to sell burners.

  • Yet another question about transfer from iPod to PC

    I realize there have been a couple similar questions regarding this, recently, and I have read the answers and the guides within help. The trouble is this: My hard drive on my PC died!! I had to replace it. So, the new hard drive has no music library at all. I need the new library to match what's on the ipod, for further music downloads and automatically updating the ipod, etc.
    I followed directions in "Copy Music to New Computer". At the point where it says to go to My Computer and double click on the iPod (while it's connected, of course) and you're supposed to see a few folders here. One of them should be a folder called iTunes. You're supposed to be able to drag it into your My Music iTunes folder. However, that folder does not appear!! Only Calendars, Contacts, and Notes folders are there. There definitley is music on the ipod. So, why is there no folder there? I can't figure any other way to get this stuff back in my library.
    Please help.
    I could re-import most of it ,I guess, and start over, but if I can't get the stuff that's only on my ipod, the library still won't match. And next time I download new music, and iPod updates itself from my library, I'll lose stuff.
    Any ideas?

    Try this.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), there's Yamipod. This is a free program that transfers music and playlists etc from iPod back to the computer. However, it does not transfer playcounts/ratings etc.

  • Yet another question on daisy chaining...

    After having thoroughly sifted through prior discussion on the subject, as well as looked at the online tutorial (gooberguides) and other sources, I am compelled to come back and ask this question. This is Captivate 5.
    Here is my scenario, and it seems to be quite simple. I have a large project, which I want to break up into smaller ones. This is so that users don't have to sit and wait for it to load from the LMS before they can start. I need to have SCORM reporting, so that users can leave and come back to where they were. I don't think I can resolve this using Multi-SCO Packager, as the resulting package doesn't appear as a single module, but as several modules within a single package. Aggregator wouldn't quite work, since it forces that TOC, which I don't want to have.
    One more wrinkle in the whole thing is that I have my own TOC, which is on the first slide of Module no. 2, to which I have a link from most other (subsequent) modules.
    I have successfully daisy-chained all of this using the online guide mentioned above. I used 'Open URL or file'. At first, I tried pointing to the SWF file for the next module, but when I deployed the final package, my browser (Firefox) wanted to download the next module, instead of playing it back in the browser window. Pointing to HTML file resolved that. My links back to the Module 2 (TOC) work fine. It took me a while to figure out why none of the linking wouldn't work at first. It only started working when I removed spaces from file names (this I couldn't find anywhere in documentation, and stumbled upon by myself).
    My only problem (a deal breaker) is with SCORM tracking. When I publish with reporting turned on, the following happens: first module plays back throughout (all five slides). At the end, it loads the second module. However, when second module starts playing, it either freezes on load, or skips right past first 5 slides and starts playing from slide no. 6. This is telling me that the LMS is treating this as if the user has closed the session after reaching slide 5, then immediately re-opened it, so the LMS is sending him straight to slide 6, except this is now Module 2, and not Module 1. Meanwhile, user has never touched anything and has actually never left the session. Sure enough, if I leave the session at, for example, Module 2, slide 7, when I come back, LMS will be stuck trying to load Module 1, slide 7 (which doesn't exist; my Module 1 has only 5 slides).
    So, apparently, simple daisy-chaining doesn't work well with SCORM reporting. Meanwhile, Aggregator (and Multi-SCO Packager) aren't doing it for me, as they force TOC to show individual modules.
    Does anyone have any ideas how to work around these obstacles?

    Copy the ENTIRE iTunes folder from the old computer to the new computer.
    Open iTunes, everything in iTunes should be exactly as it was on the old computer.
    Connect the device and sync.

  • Yet another question about exporting and video quality

    Kind people,
    I know this question has been asked many, many times, and I have searched and read up of the topic, but I would also like to ask it.
    I shot my video on a Canon Vixia HF10, downloaded it to Final Cut Express to edit, exported it as Quick Time Movie, dropped it in iDVD, then played it on my TV and the quality was…..not good. The video was a little fuzzy and there were ghosts. Are there any settings I should go back and check in iDVD.
    Wolfgang

    Hi(Bonjour)!
    What is the format recorded by this camera?
    How did you capture/ingest your video material in FCE?
    What was your sequence format in timeline?
    How did you export your sequence (specify exact steps, menus and command)?
    What was your iDVD project settings?
    What was the iDVD quality setting?
    Did you monitor your DVD on computer screen or TV set?
    Michel Boissonneault

  • Yet another question on broadband intermittent los...

    I have my Broadband since 2007 and the speed has been a stedy 6-7mb/p upuntil three weeks ago. Mine is with BT unlimitted and not fibroptic. The connection keeps dropping out(Appears to be intermittent)
    Now I find intermittent loss of broadband connection no matter whether it is day or night. It is so frustrating to say the least.
    I observed for three weeks hoping it will resolve with time ( thinking some repairs/upgrades may be undertaken by BT) but with no avail.
    All I know is that BT is to implement fibroptic in my area in Dec 2014.
    My exchange is Trefnant.
    Can anybody help me? Do I need to contact BT?
    Regards

    there could be many reasons please work through this link
    Here is a basic guide to getting help from the community members done by CL Keith Please read through the link posted http://forumhelp.dyndns.info/speed/first_steps.html
    once you have posted the information asked for then the community members can help you more
    if using a hub 4 locate these lines located in the hub logs
    Lines should look like this
    19:11:29, 07 Nov. (2290101.460000) DSL noise margin: 7.00 dB upstream, 6.10 dB downstream
    19:11:29, 07 Nov. (2290101.390000) DSL line rate: 448 Kbps upstream, 288 Kbps downstream
    Thank You
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Yet another question on analytical functions

    Hi,
    A "simple" issue with date overlapping: I need to display a "y" or "n" where a start time/end time overlaps with another row for the same employee.
    For this, I used analytical functions to find out which rows were overlapping. This is what I did:
    create table test (id number, emp_id number, date_worked date, start_time date, end_time date);
    insert into test values (1, 333, to_date('2008-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 08:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 10:00:00', 'YYYY-MM-DD HH24:MI:SS'));
    insert into test values (2, 333, to_date('2008-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 10:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 12:00:00', 'YYYY-MM-DD HH24:MI:SS'));
    insert into test values (3, 444, to_date('2008-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 08:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 09:00:00', 'YYYY-MM-DD HH24:MI:SS'));
    insert into test values (4, 333, to_date('2008-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 11:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 13:00:00', 'YYYY-MM-DD HH24:MI:SS'));
    SQL> select * from test;
            ID     EMP_ID DATE_WORKED         START_TIME          END_TIME
             1        333 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00 
             2        333 01-01-2008 00:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00  --> conflict
             3        444 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 09:00:00
             4        333 01-01-2008 00:00:00 01-01-2008 11:00:00 01-01-2008 13:00:00  --> conflict Here I see that Employee 333 is scheduled from 10 to 12 am, but it's also scheduled from 11 to 13. This is a conflict.
    To find this conflict, I did this (please correct me if this is incorrect):
    SQL> select id, emp_id, date_worked, start_time, end_time, next_date
      2  from (
      3        select lead( start_time, 1 ) over ( partition by emp_id order by start_time ) next_date,
      4               start_time, end_time, emp_id, date_worked, id
      5        from   test
      6       )
      7  where  next_date < end_time;
            ID     EMP_ID DATE_WORKED         START_TIME          END_TIME            NEXT_DATE
             2        333 01-01-2008 00:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00 01-01-2008 11:00:00So far, so good. Where I'm stuck is, I need to display the conflicts in this way:
            ID     EMP_ID DATE_WORKED         START_TIME          END_TIME            OVERLAPPED
             1        333 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00
             2        333 01-01-2008 00:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00 yes
             3        444 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 09:00:00
             4        333 01-01-2008 00:00:00 01-01-2008 11:00:00 01-01-2008 13:00:00 yes Is there a way I can achieve this?
    I tried doing a nested query with a count(*) but no success...

    I found an issue. Say we insert this row.
    insert into test values (5, 333, to_date('2008-01-01 00:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 07:00:00', 'YYYY-MM-DD HH24:MI:SS'),to_date('2008-01-01 08:00:00', 'YYYY-MM-DD HH24:MI:SS'));
    SQL> select * from test order by start_time;
            ID     EMP_ID DATE_WORKED         START_TIME          END_TIME
             5        333 01-01-2008 00:00:00 01-01-2008 07:00:00 01-01-2008 08:00:00
             1        333 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00
             3        444 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 09:00:00
             2        333 01-01-2008 00:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00 --> conflict
             4        333 01-01-2008 00:00:00 01-01-2008 11:00:00 01-01-2008 13:00:00 --> conflictIf I run the SQL suggested by Nicloei, I get:
    SQL> select id,
      2         emp_id,
      3         date_worked,
      4         start_time,
      5         end_time,
      6           Case When end_time > prev_date Or next_date > End_time Then 'Yes' Else 'No' End over_lap
      7      from (
      8            select lead( start_time, 1 ) over ( partition by emp_id order by start_time ) next_date,
      9                   lag( start_time, 1 ) over ( partition by emp_id order by start_time ) prev_date,
    10                   start_time, end_time, emp_id, date_worked, id
    11            from   test
    12           );
            ID     EMP_ID DATE_WORKED         START_TIME          END_TIME            OVER_LAP
             5        333 01-01-2008 00:00:00 01-01-2008 07:00:00 01-01-2008 08:00:00 No
             1        333 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00 Yes
             2        333 01-01-2008 00:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00 Yes
             4        333 01-01-2008 00:00:00 01-01-2008 11:00:00 01-01-2008 13:00:00 Yes
             3        444 01-01-2008 00:00:00 01-01-2008 08:00:00 01-01-2008 09:00:00 NoIt's basically saying that there's an overlap between id 1 and id 2 (8-10 and 10-12), which is incorrect. I ran the inner query by itself:
    SQL> select lead( start_time, 1 ) over ( partition by emp_id order by start_time ) next_date,
      2                   lag( start_time, 1 ) over ( partition by emp_id order by start_time ) prev_date,
      3                   start_time, end_time, emp_id, date_worked, id
      4            from   test;
    NEXT_DATE           PREV_DATE           START_TIME          END_TIME                EMP_ID DATE_WORKED                 ID
    01-01-2008 08:00:00                     01-01-2008 07:00:00 01-01-2008 08:00:00        333 01-01-2008 00:00:00          5
    01-01-2008 10:00:00 01-01-2008 07:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00        333 01-01-2008 00:00:00          1
    01-01-2008 11:00:00 01-01-2008 08:00:00 01-01-2008 10:00:00 01-01-2008 12:00:00        333 01-01-2008 00:00:00          2
                        01-01-2008 10:00:00 01-01-2008 11:00:00 01-01-2008 13:00:00        333 01-01-2008 00:00:00          4
                                            01-01-2008 08:00:00 01-01-2008 09:00:00        444 01-01-2008 00:00:00          3with this data, I can't seem to find a way to conditional test in order to print my overlap column with "yes" or "no" accordingly.
    am I missing something?

  • Yet another question on memory expansion for the G5.This one is really cool

    I currently own a G5 2Ghz (8 DIMM sockets model) that I would like to add memory to. I have done my research (in this forum and elsewhere) and have found that what I need is DDR400 SDRAM (PC3200) memory.
    Now here the 2 questions:
    (1) Must I expand in pairs (i.e. must I for example add 2*512, or can I go with 1*1GB), and
    (2) Are there differences between PC memory and Apple memory modules that disqualify installing PC memory modules (with the same specifications as required, i.e. DDR400 SDRAM (PC3200)) into an Apple? I ask the question b/c PC memory modules are cheaper than their Apple counterparts but both have the same specifications (I compared PC and Apple memory modules on www.crucial.com). I can't shake the idea that differentiating PC and Apple memory modules is only a marketing sham.
    All insight into the matter is welcome.
    Cheers,
    G5   Mac OS X (10.4.3)  

    Some specs (and prices) to print out and tote around the mall
    http://www.crucial.com/eu/store/listparts.asp?Mfr%2BProductline=Apple%2BPowerMac&mfr=Apple&tabid=AM&model=Power+Mac+G5+%28Dual+2.0GHz+DDR%2C+8+DIMMsockets%29&submit=Go
    I have the 2 x 1GB in this March 04 DP2 - no problems - so far.
    As OS X seems to get more picky about RAM with each update, you may wish to consider the importance of a no-quibble guarantee...

  • Yet another question about setCursor

    Hi,
    I'm still unable to set a WAIT_CURSOR in the following code :
    public class MyPanel extends JPanel {
       private void longProcess() {
           setBusy(true);
           doLongProcess();
           setBusy(false);
       private void setBusy(boolean busy) {
         RootPaneContainer root = (RootPaneContainer) this.getTopLevelAncestor();
         if (busy) {
              //root.getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
              this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
         } else {
                   //root.getGlassPane().setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));               
              this.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
         //root.getGlassPane().setVisible(busy);
         this.setVisible(busy);   }
    }Thanks for any help/suggestions.
    nusa

    1. The EDT is the Event Dispatch Thread and this is the thread where Swing does all its work. So this means that you should not perform your time consuming task on this thread because it gets in the way of what Swing needs to do. This means your windows will go grey because they can't repaint themselves and in your case the cursor never gets the chance to change and paint itself.
    What you should use is a SwingWorker (there are other options/libraries out there) but you can get started with Swing Worker pretty quickly.
    A good (and simple) reference is:
    http://java.sun.com/products/jfc/tsc/articles/threads/threads2.html
    And by the way, SwingWorker is part of jdk 6 so if your using java 6 you wont need to download the additional java file.
    Hope this helps,
    Alex

  • Yet another question about XServer

    Greetings
    Having installed an XVR100 graphics card in a Sunfire V240 and configured it as the default output device, I have managed to get XSun to start and then start X11VNC, however, while I get a nice, graphical Solaris screen, I dont get any login prompt. Just a mention that this is Solaris X11 v 6.6.2 and some console output showing the last "SU" login.
    Do I need to change the default tty somewhere?
    Additionally, I want to configure some type of desktop manager to work with X but cant find a way to run either KDM (no KDM config in evidence on system) or Gnome.
    Is Xsun what I need to be running on a sparc system or should I run Xorg?
    (Or is Xorg only for Solaris X86)
    Because the original build of this box was without a graphics card, I am having to do this by hand.
    Sorry for all the dumb questions but I've had a much easier time getting X to run on almost any other flavour of UNIX.
    Any help or suggestionswould be much-appreciated.
    Tim

    The GT70 CAN come with an adapter that has 2 (on the older, GT70 0NX models) or 3 (on newer GT70 20X models) sockets for mSATA drives. It's an optional part, that takes place of the primary SATA drive in the notebook, and physically has a different part that connects to the motherboard. If it doesn't come with the SuperRaid adapter, then it just has support for a single 2.5" SATA drive.
    The GS70 on the otherhand, has this built into the motherboard and there is no swapping it out for a normal 2.5" SATA drive. You can only use mSATA drives (on those ports). The GS70 is meant to be an ultrabook, and therefore does not have the same ability as the GT70 to house up to 2 full size 2.5" SATA drives.
    That's really the main difference here. Without physically seeing a GT70 to see how the SuperRaid adapter works, it's slightly difficult to explain.
    But in the end, I wouldn't worry about the SuperRaid....The GS70 should have support for Intel Raid Management Engine, in which case that's all you really need.

  • Yet another question about setting the size of a JTextField

    Hello,
    yep, I already looked at the other posts & the API.
    I have tried the following (& other code) to try to set the width of the display. Nothing works so far.
            percent_CO2 = new JTextField();  
            percent_CO2.setColumns(8);
            percent_CO2.setToolTipText("The % Carbon Dioxide relates to ...");
            percent_CO2.setPreferredSize(new Dimension(10,20));
            percent_CO2.setMaximumSize  (new Dimension(10,20));        This is one of several JTextField's on a Jpanel defined as :
    jcommonCharPanel.setLayout( new GridLayout(8, 2, 2, 4) );
    //8 rows, 2 columns, vertical & horizontal gaps of 2 & 4Any ideas why it is so difficult to set the size of the JTextField?
    Should I try to limit the size of the JPanel instead?
    thanks,
    -- HSC --

    http://forum.java.sun.com/thread.jsp?forum=54&thread=379656

Maybe you are looking for

  • DVI to ADc adapter- missing ac power cord

    HI, I recently obtained an dvi to adc adapter for my apple display however the adapter came without the ac cord which powers the thing. Normally this wouldn't be a big issue, but because it is an apple product the cord that powers the adapter has a u

  • Partition using Bootcamp and Windows 7

    Hi Would it be a good approach to partition using Bootcamp then install Windows 7? Later I plan to install Parallells. Can it be down this way or should I install Parallels first, then Windows 7? Thank you.

  • Massive drop in line speed...

    Hi all, I suffered a massive drop in Internet connection speed earlier this week which has so far not improved. Although I have had ADSL since it's near earliest days and being close to my exchange I have never received a great performance but have b

  • Mac book air , antivirus?

    got a mac book air for the first time, before a PC. Does that need anivirus too??

  • FCP Project to Adobe Flash

    I've been asked to provide a completed FCP project to a web administrator who operates only in Adobe Flash. Mine is a 720p 16:9 project -- his environment is 4:3 sometimes as dial-up speeds. :--( Should I deliver just a Quicktime file? Should I deliv