Home made component and Look'nFeel
I would like to create a new component (and probably some new component UI) that can change it's appearance depending on the LAF.
How should I proceed?
Thanks for any help.
Eric
Please take a look at my Calendar components at http://web.ukonline.co.uk/mseries I have done the very thing you seem to be asking for. The CalendarPanel is an example of a component with a pluggable look and feel
Similar Messages
-
Home made PHP and SQL Calender
I'm making a PHP calender which will output the contents of a
database via SQL. At the moment ive got heading (just a quick over
view of whats happening), event (more detailed info not shown
during the standard calender view), importance (this will simply be
a cel colour which I can do very easily without help) and date
(day, month, year) as my fields. I'm trying to figure a way of
putting something in each field and getting it to come out on the
appropriate date on my finished calender.
It's VERY early stages so SQL development hasn't begun yet, I
wan't to do this completely by hand (I'm aware theres calender PHP
scripts already). I was thinking of making a database containing
each month, day and year and if theres something in the specific
fields then outputting whatever I've wrote in it, however this will
make the database HUGE! Whats the simplist and easiest way to do
this.
P.S I also want to be able to have multiple entries for one
date"slowpoke115" <[email protected]> wrote in
message
news:fa99a0$asi$[email protected]..
> I'm making a PHP calender which will output the contents
of a database via
> SQL.
> At the moment ive got heading (just a quick over view of
whats happening),
> event (more detailed info not shown during the standard
calender view),
> importance (this will simply be a cel colour which I can
do very easily
> without
> help) and date (day, month, year) as my fields. I'm
trying to figure a way
> of
> putting something in each field and getting it to come
out on the
> appropriate
> date on my finished calender.
>
> It's VERY early stages so SQL development hasn't begun
yet, I wan't to do
> this
> completely by hand (I'm aware theres calender PHP
scripts already). I was
> thinking of making a database containing each month, day
and year and if
> theres
> something in the specific fields then outputting
whatever I've wrote in
> it,
> however this will make the database HUGE! Whats the
simplist and easiest
> way to
> do this.
>
> P.S I also want to be able to have multiple entries for
one date
Did a calendar extension for ASP once, for data storage it
used a simple sql
table containing a EventDate and EventTitle column, the
display logic was
something like below
retrieve Events WHERE Date >= first day of month AND Date
<= last day of
month
for each Week in the Month
begin table row
for each day in the Week
begin table cell
for each event in selected Events
If(EventDate == day) Print EventTitle
next event
end table cell
next day
end table row
next Week
I hope you get an idea about how to avoid creating a row for
each and every
date
Joris -
Hi Everyone,
I have got the Cards (home made 8 bit and 16 bit ) plug in at slot ISA my PC (I am using the commands inport and outport (addressed with 318-31A Hex) in C language to access very good).This now,I want to use LabVIEW language to access data directly to Port at my the Cards. In LabVIEW, Can I access data to port using the In port.vi and Out port.vi located in the Advance?
My English is poor, you don't laugh when you read it.
Thank you a lot.SachaE wrote:
> LabVIEW 7.0 cannot use the built-in In/Out Port VIs with a 32-bit
> address. Instead, you will have to use the versions of these VIs found
> in previous versions of LabVIEW.
Are you talking about physical memory access here? If so that is
something entirely different. The Intel x86 architecture uses a separate
IO address range which is entirely separate from memory space.
And at least up to the first Pentium models it was definitely never
possible to address more than 16 bits for IO address space.
This of course has gotten a little more complicated nowadays with many
PCI boards being actually mapped into memory address space instead of IO
address space. So eventhough a PCI board is more like an IO device it
often is accessed in the memory space.
> Actually, the In Port and Out Port VIs are intended for 16-bit port
> I/O and not for writing to arbitrary addresses in memory. For this
> reason, writing to 32-bit addresses never should have been allowed.
I think the VIs to access physical memory addresses were different than
the ones to access IO addresses. And yes it is definitely not a good
idea to have an application poke into physical memory as it could
completely screw the system to the point where you couldn't start it
anymore. Also IO devices mapped into memory address space are almost
always typically plug and play devices, so their address is not really
fixed and you need to do quite some more work on OS level to enumerate
your hardware and find the resources used before trying to access it.
This is something not really suited to try to do in LabVIEW and
therefore should be at least implemented as DLL but in fact anything but
a device driver is a very bad kludge.
> One possible work-around would be to use NI-VISA to perform
> register-level programming. NI-VISA gives you access to any PXI/PCI
> board, not only NI boards, and can be used to access the board's
> registers.
>
> http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7?opendocument
Thanks for this. Didn't now this existed in NI-VISA. Will check it out.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
i have a macbook pro. i think i might have pushed some buttons that made my macbook look for a wireless keyboard.. i dont have any wireless keyboard. and now i cant use the keyboard on my macbook. how can i get the normal keyboard staring?
korgba wrote:
it pops up a script were it says that the macbook cannot find a bluetooth keyboard, and it isnt a keyboard connected
For some reason, your Mac doesn't recognise that a keyboard is present, so it looks for a wireless keyboard. The question is, why doesn't your Mac recognise that a keyboard is attached?
First, you need to make sure you remove all peripherals, especially USB peripherals (the keyboard is on the USB bus). Then restart holding down the Shift key. This should boot in Safe mode. If the computer boots normally (not in safe mode) and the keyboard is still not working, try resetting the SMC
Intel-based Macs: Resetting the System Management Controller (SMC)
<http://support.apple.com/kb/HT3964>
If that still doesn't fix the problem, then the keyboard (or its controller) is probably damaged and needs to be replaced. -
I have not been given any explanations for my multiple electronic communication device retail purchase problems. When ever I purchase a retail smartphone or retail notebook computer they do not have actual installed operating systems as advertised. The android
operating systems are Developer SDK. The operating system on my Virgin Mobile Samsung Galaxy Ring is Android Jelly Bean 4.2.1 purchased this year is part of a Developer SDK. I purchased a Samsung i7 Chronos win8 64 bit notebook at Best Buy last year and it
was configured as a Network Server Client in User Mode through the American Mega Trends Aptio Bios Setup Utility that had been customized to bypass regular Configuration files and install a custom operating systems on Network Volumes instead of the actual
partitioned hard drive. I ended up with WinPE boot in to WinNT and WinMCE in an OEM Networking client server platform partial operating virtual operating systems that I have been allowed a user profile with permissions in the Administrators Group. I am not
even the administrator of my own personal computer. Someone I do not know has hijacked the highest Administrative Authority at retail purchase and open up a number of profiles to the general public through the server client software. They have automated and
live access to the operating systems power up or power down. I do not even think the notebook is ever powered down even though the power and activity lights are out. It is like someone has taken the windows operating system I was suppose to get at retail and
swop it for partial virtual operating systems interface to network client software through serveers. I took the SamSung Chronos back to Best Buy and exchanged it for an Asus G75VX i7 Win8 64 bit gaming notebook with 3GB Nvidia Graphic's chip and 8GB memory
with 1TB hard drive 3D ready and it was configured the same way as the Samsung. I took it back and returned it to Best Buy and exchanged it for another brand new in the unopen box Asus G75VX i7 win8 64bit notebook. I took it back for Best Buy to take a look
at it because it was also configured the same way. Then I sent it to the Asus Service Center two times and it was returned to me both times configured the same way. Before I sent it back to Asus the two times I went to Fry's and purchased Windows 7 Home Premium
32 and 64bit operating systems on DVD and the notebook configured the software the same way. After install of win7 32 or 64bit the installed operating systems did not recognize the Window's 7 Home Premium 32 and 64bit retail DVD as the same version of operating
system. I took a look at the installation files on the retail disk and the configuration installed on the computer came from the software disk and the rest through background network servers but there is something in the AMI Aptio Bios that voids any of the
regular Configuration Files. My computer does not even recognize the configuration file in the normal sense on the retail disk. All of the system file extensions have been altered and been added to creating almost unlimited file extensions like the system
ran on Text. I paid $975.00 for the Samsung Chronos, $1375.00 for the two Asus G75VX's, $216.00 for the win7 DVD, $120.00 or more for insured postage on the to trips to the Asus Service Center not counting Asus prepayment of postage because I had to reship
the notebook in order to get it to me. I have spent about $150.00 or more on software for disk management, anti virus, internet security etc. The retail purchase were modified on return purchases. Since 2007 I have gone through about seven smart phone brand
new, About four of five regular internet phones and about eight notebook computers with three being used and five being brand new.
I still do not have an actual operating system installed on the actual retail hard drive and my notebook is not repaired. I have operating systems installed on Network Disk Volumes that are installed on a GPT Server Partition. The configuration visually
alters from background activities. All of my information is made public through the Virtual Public Shared C: drive.
I am legally disable and a pro se litigator in the United States Federal Courts. Since 2007 I have litigated in three civil actions in the United States District Courts and in one all the way to the United States Supreme Court. I am currently still litigating
in one as a legal interpreter and have done all of the legal work in that action since 2011. I have a civil litigation history in the United States District Courts dating back 28 years.
Having all of my communication devices hacked and the legal and personal information publicly shared through three federal civil actions and through public entity department and agencies is a gross violation of United States Constitution Article IV Citizenship
rights. A gross violation of the Bill of Rights First Amendment Rights to Petition the court for Redress of Grievances and Bill of Rights Fourth Amendment Privacy Rights and Bill of Rights Fourteenth Amendment Equal Protection and Due Process rights. It is
a gross violation of the Federal Communications Act FCC Rule 255 person's with disabilities access to electronics's telephone communication equipment and software since my smart phones and notebook computers were configured with networking, management and
telephone hardware and software. It is a gross violation of Title II of the American with Disabilities Act of 1990 as amended in rights of person's with disabilities. It is a gross violation of the Rehabilitation Act of 1973 as amended on the rehabilitation
rights of persons with disabilities. It is a gross violation of Title VI of the Civil Rights act of 1964 Civil Rights and it is a gross violation of litigation privacy rights within all of the federal court rules such as the Federal Rules of Civil Procedure,
Federal Rules of Evidence, Federal Appellate Court Rules, Local Court Rules and United States Supreme Court Rules and the United States Federal Pacer Electronic Court Account and Filing System. It is also a gross violation of state law that has to comply
with federal law. There exists no question in law of the violations because I have furnished the computer registry files, Receipts and servicing records to Microsoft, Asus and others but nobody know how to solve the problem but the Win7 retail disks identical
to mine disappeared from retail store shelves. What is WNT_6.1H_64_MCE?oes anybody in the Microsoft and Asus community have any explanations for the total disregard for United States federal law and customer retail purchase rights? I went to Fry's and Best
Buy and took a look at a number of notebook computer files and configuration and a number of them were like mine. The thing that irritates me the most about the configuration if it is public is that it is not passive. A profile folder has been configured for
me that alters the configuration of what I purchased to violate my constitutional rights. They even alter the hardware and software settings to Legacy that ran on computers from ten fifteen years ago and force it on me at modern day electronics prices. That
is not right.Where no law is involved in denials and restrictions in constitutional rights it is impossible for it to be legal.
J.P. -
JSF tree view GUI component and tree node actions
Hi,
I am new in using JSF and have a problem with my simple test application.
The application contains a tree view control with one static tree node and a separate text area. Clicking on the tree node shall fill the text area with the string 'hello'. Seems to be very simple, but it doesn't work.
What did I do?
First of all I use the Sun Java Studio Creator 2.
By double clicking on the tree node in the design window of the IDE a method called treeNode1_action() was created. I also added the String text to the session bean. treeNode1_Action() does not more than setting text='hello' ( getSessionBean().setText('hello'); ).
The jsp file contains the line
<ui:textArea binding="#{Page1.textArea}" id="textArea" style="height: 192px; left: 360px; top: 48px; position: absolute; width: 456px" text="#{SessionBean1.text}"/>, so the text of the text area is bound to the session property 'text'.
Running the application and clicking on the tree node does nothing except reloading the page (no 'hello' inside the text area).
Using the debugger showed me that the bean property text is set correctly to 'hello', also after reloading the page.
What did I do wrong?
What do I have to do to display 'hello' in the text area?
I would be glad for some good advice to solve my problem and looking forward for an answer.
Regards from germany
Matthiaswant to remove the green patch from the jsf tree componentas u said ,, it is COMPONENET so this is a pre-made creator component that u cant chnage its attributes ,,
instead u can extract Theam.jar file and change the icons ,, u i didnt do it before ,, but u may be find what u want there,
hope this will help
good luck
Mohammed -
Im using Win8. I originally had all my ripped movies in a movie folder listed in the videos library. This imported into iTunes movies with no issue. I later added a second folder t my library - personal videos where i put all my home videos. I was able to import this into iTunes and it showed up in "Home Movies" - very cool and exactly what I wanted. Now, if I add a new ripped movie and put it in my movie librairy and try to import it into iTunes, it places it in Home Movies. And if I put a new personal video, it will also import into iTunes under 'Home Video?. What is going on here?? Any help would be greatly appreciated - it seems like this is a bug in iTunes 11.
I thank you for the response. Apple does some assinine things sometimes and this is one of them. Ask the planet the difference between a movie and a home video and with the exception of Apple, you'd get 100% consenus on the what difference is. A home video is something that I shoot, like my kids birthday party. A movie is something I urchased either via download or a DVD that I ripped. Unbelievable! The fact that Apple has chosen not to distinguish based upon which folder I tell it is Movies and which folder is Home Videos is really hard to fathom - sounds like something Windows would do. I find it funny that in my iTunes movies sub-section of the movies section, the movie icons have a cloud icon in upper right corner to distinguish it as bought from Apple iTunes versus no cloud icon for movies that I have ripped - so the distintion was already made and clearly visible. Now - everything just defaults to "home videos" if I try to import a new ripped DVD - why even bother to have this distinction on the iTunes bar? WOW!
As for your direction, I do not understand what you are telling me - what Media Kind and what Options tab are you referring to? I see no Options tab in iTunes. Right licking on the movie icon does not yield media kind or options as well. Gping to the source file does not yield these options either.
Thanks again for your help.
Clay -
How does iMatch treat my own home-made recordings with high emotional value?
The question speaks for itself. I am cautious of using iMatch, because I am not sure what it will do with my precious home-made recordings (with performances of some of my deceased family members) of which there is no 'match'. Is it smart to make a back-up of these files first before sending them away in the cloud? Will it back up these files and make them available for all of my devices for my family when they log in under my name?
Hi,
Match will not change your files. If they meet match requirement regarding file type, size and bit rate they will be uploaded as is. If they are aiif, WAV or lossless they will be transcoded to 256 Kbps.
You should maintain a separate back up of all your music - do not rely on match.
The music will be available to stream or download on other devices and computers whilst signed into your Apple ID but be wary of the authorization rules. http://www.apple.com/uk/support/itunes/authorization/
Jim -
I have an Ipod touch 2nd generation 8gb. Metal peice fell out from the inside where the home button is and I lost it. Put the screen plug in and put the screen on and it would turn on but it won't unlock or respond to anything I try to do. PLEASE HELP ME!!!!!!!!!!!!!!!!!!!
Look her and it may give insite on what is missing. Otherwise:
Apple will exchange your iPod for a refurbished one for $99. Likely not worth it for a your iPod. They do not fix yours.
Apple - iPod Repair price
A third-party place like the following maybe less. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
Repair it yourself if you are up to it
iPod Touch Repair – iFixit -
How to add Mac27" to existing home network? and read files on other PC computers (Window7).
type of connection:
All computer (PC & Mac) connect to router (ethernet or wireless), then connect to internet.
condition:
internet works fine on all computer (PC & Mac).
existing 4 PC communicate well (share files & printers),
my problem:
can NOT add Mac into existing home network.
I tried SYSTEM PREFERENCES, then NETWORK, then ......... several times
could not make it work.
pleas help.Ah, it looks like I should have read your title more carefully. Are the files on the PCs that you want to share with your iMac in a shared folder?
If not, follow the steps on this page to set up shares from Windows 7.
If that is already set up, connect to the share from the iMac using this article. -
Unable to install Windows on an 2010 iMac with home-made Fusion Drive
Hi there,
I've been very happy using mi iMac eversince I installed the SSD alongside the HDD. Only recently I tried to install Windows 7 but it doesn't seem to work. The installer runs, it seems as though Windows is installing but it doesn't ever seem to be able to boot. I've tried countless times. Everytime it boots to Windows it shows nothing but just a black screen with the cursor blinking at the top left corner.
Now, when I home-made the Fusion Drive the Mac OS was only 10.8.2 or older and I know that with 10.8.3 Apple has made improvements towards boot camp and especially the 3TB HDDs. I wonder if this could have anything to do.
Anyway, please enlighten me as to what is it that I need to do to make it work. I've been reading something about the position in which the Windows partition resides compared to GUID and EFI but honestly I have just the tiniest idea about all that. Just for the record, the following is what shows in the Terminal after diskutil list command:
diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *256.1 GB disk0
1: EFI 209.7 MB disk0s1
2: Apple_CoreStorage 255.7 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI 209.7 MB disk1s1
2: Apple_CoreStorage 942.3 GB disk1s2
3: Apple_Boot Boot OS X 650.0 MB disk1s3
4: Microsoft Basic Data 57.0 GB disk1s4
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Fusion Drive *1.2 TB disk2
Hope you can help..!Hello again, by reading a couple of posts I learnt the steps and so, using an external OS I repartitioned the two internal drives making sure the Windows partition wasn't part of the Fusion Drive. I was very excited as I was sure it would work and went ahead and started the Win7 installation even before the MacOS was restored into the iMac.
No good news though. The installer run as expected however, when the time came for the iMac to boot from the newly installed Windows7, all I saw was a blank screen and a blinking dash at the top left corner of the screen.
Lastly, this morning I woke up to see that my old system was fully restored from Time Machine external back up. I also leart that using the Boot Camp Assistant I could remove the Windows partition that I created on Terminal from the external OS, which was surprising, I honestly thought that that partitioning arrangement would be off-limits for the Boot Camp Assistant.
Still, I haven't been succesfull installing Windows back to my Mac, can anybody help? -
Flash profiling of memory after clearing cache of home-made rsl files
I have a question about the flash memory profiling tools.
Once I have completely loaded a swf file into my browser, complete with multiple home-made gigantic RSLs (not flex swzs), the memory footprint of my application is small; I have not instantiated any of the objects in the RSL files. However, as stated earlier, the RSLs are very big files; full of embedded assets.
If I clear my browser cache, those gigantic RSL files are deleted.
Then, when I use my flash app to create objects from the RSL, flash profiler shows my memory footprint increase. That makes sense; I just made some large objects.
But from where did flash load those objects?
I deleted the RSL files.
The flash profiler showed I was using hardly any memory, suggesting that the class files were not loaded into memory already.
Are the files kept in a secondary file cache? Is there a second memory cache? Can I profile its size?1. No. and the main footprint of a bitmap is probably is per-instance so the instance cost is probably what you're interested in. Anything embedded is also a class and the first time you access the class the Class category should go up by a bit.
2. When your app requires an RSL, the SWF for the RSL is loaded into memory (in a buffer you can't see from the profiler), expanded and parsed (into even more memory that you can't see from the profiler). Then as you access classes from the RSL, the profiler should show growth in the Class, Object and Function. If you statically link just the code you need, the amount of memory to load the SWF and parse it will be smaller since it doesn't need space for classes you won't need, but after that it is the same. The advantage of the RSL is that most folks end up using 200K or more from the RSLs so that's a download cost you pay the first time you run the app. The Flex RSLs are pretty well deployed so your chances of having savings is pretty good. Private RSLs for your app will do no good unless there is another app on the same domain that uses the RSLs. See the modules presentation on my blog for more info
3. The profiler does not show System.totalMemory. Even that number isn't the whole measure. We're currently fans of PrivateBytes to measure total weight of the app. But it depends on what problem you're trying to solve.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
BT Home Hub 3 and Android 4.2.1 WI-FI issue
Hi, i'm seeing a really annoying issue on my nexus 4 running android 4.2.1. The wireless works perfectly when i am connected at home to the HH3. Everytime i leave the house and go out of the home hubs range, when i return, the BT HH3 shows as "Not in range" even when standing right next to it.
As soon i toggle Wi-Fi off then back on on the nexus 4 it connects instantly with a signal strength of excellent. The hh3 is set to channel 13 and looks to be not conflicting with another router on wifi analyser.
If anyone has seen anything similar on another android device when using a HH3 i would appreciate any feedback or potential fixes.I have a HTC Desire with Android 2.1, and a home hub 1, and have no problems. Do you have another router you can try, or perhaps use as an extra wireless access point?
I do know that people seem to have problems with the HH3, for some reason, but I cannot see why it should be an issue with an Andriod device, as they normally remember wireless settings.
Channel 13 can cause issues with some devices.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones. -
Hello ..
my problem is tree component and AS3 , before we hade such
easy time with tree component in as2 but now i founded that we cant
talk directly to tree component and we have to use API and XML ,
well i never liked XML and before i worked with tree component
directly and no problem but now , Flex force me to work with XML or
API(well I don’t know what dose it mean ) and I was tiring to
find any way to get directly to tree component in Flex2 and no
result … so my question , do I have use XML ? Is there any
another way to get to Tree Component ? I was looking in Flex help ,
and I find the help content is really bad . pleas help , I get
crazy about this problem …….
BWY this form work terrible on my PC ….. anyone have
same problem ?Use xml. Resistance is futile.
Tracy -
How do I copy a home made HD video file (MP4 codec) of >10 GB from an external hard disk to my Mac Book Pro? Thanks
I will never know if the problem was one of transfer or format compatibility. The movie would not copy from one external hard diask to another, both attached to my MAC. But when the movie (which was in mpg by the way) was downloaded directly (without any other intermediary) into my external disk from the computer (a PC) where the movie was originated, the file did copy. And when I attached that external hard disk to my MAC, i could see it using the MPEC streamclip app.
Thank you anyway!
Maybe you are looking for
-
Current Date in the Text Field
Hi, I have got a requirement where i have one text field and one data/time field. Once we select the date from the date field, the date selected in the date field should be reflected in text field in the format DD.MM.YY along with some other text. fo
-
Can I download a song or audio clip from a commercial DVD? (and how?)
I don't even know if this is the right forum but I've tried searching in iTunes & iDVD and can't find the answer. Is it possible to download a short section of audio, a song for example, from a DVD of a mainstream Hollywood movie? If so, how? Can I s
-
I have 2 versions of Adobe Photoshop, 7 and CS3. I just ordered my new iMac and want to know if these will run on Snow Leopard? I have lots of photos that were scanned and edited in PS 7 and stored on CD. Will they open in CS5 if I am forced to buy i
-
Just a quick question regards my mobo..
I might possibly bricked my motherboard which I already ask a while back,, just a quick question,,, Now I did hooked up the powersupply to the motherboard alone,,, no other components,,, just the PSU and motherboard,,, then I use a paperclip to put s
-
Link .swf files to Flash Player
Hello, I have recently noticed that my .swf files are not opening with flash player. I installed flash and it does not open .swf by default. I also tried to open these files with the .dll file that runs the Flash Player but it does not work. Is ther