DateFormat.FULL not working
final static GregorianCalendar MOD_DATE = new GregorianCalendar(2005,Calendar.MARCH,7);
JOptionPane.showMessageDialog(null, DateFormat.getDateInstance(DateFormat.FULL).format(MOD_DATE.getTime()) ,
NAME_OF_APP, JOptionPane.PLAIN_MESSAGE);I get 07 March 2005 on Windows Java 1.4/1.5 and Solaris but Monday 07 March 2005 on Mac OS 10.3.8 Java 1.4.2. Whats wrong?
Thanks
Yes, thanks. I didn't realise that I had a custom date format set on my mac. The UK locale which windows and solaris were set to don't show the week day. I can fix this by using the US format.
DateFormat.getDateInstance(DateFormat.FULL, Locale.US).format(MOD_DATE.getTime())
Similar Messages
-
Hi Guys,
I am using the full width video widget on a site. The widget was working perfectly however I have just added additional content to the site and re-uploaded and now the video is not working! Please help I have tried everything and am freaking out as this web-site has been payed for by my client.
AlexMany thanks.
With those symptoms, I'd try the following document:
Apple software on Windows: May see performance issues and blank iTunes Store
(If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.) -
Screen Mirroring does not work, full of bugs.
Hi,
I've had a Sony Z1 for well over six months now and have got a Sony Bravia TV that supports mircast screen mirroring. When I purchased the Z1 it was on android 4.2 and the screen mirroring worked a treat, it was lag free, always responsive etc.
But when I upgraded to 4.3, the mirroring was buggy as **bleep**, the device always disconnected, when it did connect after several attempts it would lag, black out, then disconnect again. I've tried fiddling with wifi settings as well as wifi direct etc. but no joy and I left it as that.
When I knew 4.4 kitkat was coming to the z1 I waited as I would assume the issue would be fixed, but I upgraded to 4.4 (build: 14.3.A.0.757) today and is still full of these disconnecting and unresponsive bugs. I'm not sure what the problem is, I mirrored a samsung s4 mini and works absolutely fine (4.2) and I can mirror my sony xperia tablet z (4.3) with no issues either. I know a relative who also owns the z1 and has exactly the same issue, what also seems to happen now and then, is that half way through a mirrored session, the wifi would disable and will switch to the mobile network, then after some time, back to wifi again; yet this never happened on 4.2?
Is there a fix or a way to solve these issues? It's rather annoying having such a great feature that doesn't want to work on a flagship.
Thanks.I had some issues with Miracast on my Z1 but with 4.2 and 4.3 firmware. It was loosing connection or kept saying that I don't have HDCP. I was connecting using Netgear Push2TV.
On 4.4 (.757) it works quite stable. On Z1C with 4.3 I wasn't able to miracast at all.
The same goes with screen mirroring to Z2 tablet. Works fine from Z1 to Z2 (both KitKat, altough one touch pairing is a disaster and not working at all), but you can forget about it using Z1C and Android 4.3.
Best regards,
Sergio PL
Xperia Z1 / Nexus 7 (2012) -
Hello,
I have an iPhone 4S 32Gb White AT&T, product part No. MC921LL/A, Serial No. C39GMLPWDTDC
I bought this iPhone from Apple Retail Store (from Fifth Avenue, NY) for the full amount. Now it does not work with my SIM card only works with AT&T. I restored the phone several times, but I have not received "Congratulations your iPhone has been unlocked". Please activate my iPhone to work with different SIM cards
Thanks,
Best WishesWhen did you buy it?
Apple did not begin selling an unlocked version of the iPhone 4S in the US until 11/11/11. I believe it went on sale only through the online store at that time. I'm not sure if it's available at retail yet.
What you purchased was a phone without a contract commitment. It is still locked to AT&T. AT&T will NOT unlock iPhones for any reason. Return it and get your money back, then use that to purchase an unlocked phone. -
After full system update ppp does not work anymore
Well, I have this problem:
1) I install Arch Linux from the latest Core
2) I manually install the latest versions of wvdial and its dependences (xplc and wvstreams). This is an offline installation (because I can't set up internet without wvdial. So I save these packages on USB drive, and there I lanch pacman -U *.pkg.tar.gz)
3) I set up my GPRS internet connection (I use a mobile phone)
Everything works well (i.e.: I can ping google without problem).
Problems arise if I decide to update my system. In this case, indeed, after updating and rebooting, my connection doesn't work no more. Everything works fine until I update. After update, I can say hello to my ppp.
Then, I add some some details.
These are the last lines of messages.log after a successful connection (i.e.: before the full update of my system)
pl2303 4-2:1.0: pl2303 converter detected
usb 4.2: pl2303 now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: prolific pl2303 USB to serial adaptor driver
PPP generic driver version 2.4.2
NET: registered protocol family 10
lo: disabled privacy extensions
pppd 2.4.5 started by root, uid 0
using interface ppp0
connect ppp <-> /dev/ttyUSB0
PAP authenticate suceed
PPP BSD compression module registered
PPP deflate compression module registered
local IP address ...
remote ID address ...
primary DNS address ...
secondary DNS address ...
The last lines of messages.log after the update are:
pl2303 4-2:1.0: pl2303 converter detected
usb 4.2: pl2303 now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: prolific pl2303 USB to serial adaptor driver
PPP generic driver version 2.4.2
NET: registered protocol family 10
lo: disabled privacy extensions
pppd 2.4.5 started by root, uid 0
As you can see, it's seems there are problems in "using ppp0 interface". Indeed, pppd starts, but ppp0 interface not. I can also add that ifconfig ppp0 up and similar commands do not work (ppp0: no such device, or something like that).
So, what can I do?I don't use ppp so this is just a guess. However, after a recent upgrade I saw a message from pacman:
[2010-02-14 09:07] >>> The kernel-mode plugin has a new place.
[2010-02-14 09:07] >>> It's now located under /usr/lib/rp-pppoe/rp-pppoe.so
[2010-02-14 09:07] >>> Change LINUX_PLUGIN to the new path in your /etc/ppp/pppoe.conf
[2010-02-14 09:07] upgraded rp-pppoe (3.10-2 -> 3.10-4)
Could this be the problem?
Last edited by loafer (2010-02-23 20:01:29) -
Full-Text search is not working with PDF files - SQL Server 2012 64 bit
Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test',
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2 2014-06-04 10:11:41.393 test.docx docx
NULL [BINARY Value] [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel ThavasiHello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
My iPHONE 5 wifi is NOT working when am 3 feet away from router while my iPhone 4s has full signal all the time.Please help.
The problem would seem to be in the firewall in your router. Have you tried disabling it? I assume you've updated the router firmware, right? Consider bypassing the ISP provided router (using it as a modem only) and unsing another device such as an Aiport Express.
-
I have Photoshop Elements 12 and want to try version 13 before I buy. However, when I tried to download the trial version of Adobe Photoshop Elements 13, I was informed that it isa not available on Windows XP. Does this mean that if I buy the full version, it will not work on Windows XP?
Yes, if the system requirements do not include XP then an XP machine will not be able to use it.
System Requirements
Windows
1.6GHz or faster processor with SSE2 support
Microsoft Windows 7 or Windows 8 (32-bit versions will be installed on 32-bit systems; 64-bit versions will be installed on 64-bit systems)
2GB of RAM
5GB of available hard-disk space
(additional free space required during installation)
1024x768 display resolution (at 100% scale factor)
Microsoft DirectX 9 or 10 compatible display driver
DVD-ROM drive (for installation from DVD)
QuickTime 7 software
Internet connection required for product activation and content download* -
My MacBook Air won't turn on? I have to dropped it but earlier in the day I got a notification about a full single drive. I have tried the ideas in the communities but its still not working, help!
See this article:
http://support.apple.com/kb/ht3964
Find the section that applies to your computer, and follow the instructions.
Shut down the computer.
Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
Release all the keys and the power button at the same time.
Press the power button to turn on the computer.
Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC. -
Full screen mode PDF created on Mac not working on PC?
I've created a PDF presentation on a Mac in Adobe Acrobat 8 Professional with about 80 pages. I've set it to open in full screen mode when viewed, which works fine on Mac when tested. When opened on a PC however, in my clients corporate environment, it does not work? Has anyone else come across this problem or have any suggestions to remedy it? Could it be something to do with the system it is being opened on blocking full screen mode?
Check this out in Acrobat help type : Full Screen Mode
look at the following topics:
Defining initial View as Full Screen Mode
Defining initial View
It appears Fullscreen mode is based on OS Specifications So you need to reopen on a PC version of Acrobat and set it again.
Looks like they could have both settings in both programs that is a Line that says set full screen mode for Mac PC Unix Linux set for all. -
Full screen mode not working in Mountain Lion
I'm using the new Retina Macbook Pro. The full screen mode to preview pictures and movies is not working; the dock still remains open when the full screen is open. I have to manually hide the dock by pressing command + D and do the same to open the dock again. This doesnt seem to an OS issue because my Macbook Air, which is also running Mountain Lion is doing just fine. I can preview a picture and the dock automatically hides.
Has anyone experienced the same issue? What is the fix for this problem?Bingo! Problem solved. I didn't realize that you could "right click" the mouse over the "resize" icon in full screen mode. When I did that I found I was in the tiny postcard mode. Selecting "full screen" got me back to where I used to be..enjoying the tv shows in full screen mode. Kinda of weird. Choosing "full screen" from the menu bar didn't make the show full "pictured" though I was in full screen mode. But while in the full screen mode, I could right-click and choose "full screen" and there I be, watching a show in "full pictured". Learned something new.
-
Adobe Elements 9 Full edits do not work
While editing photos in Elements 9 all of a sudden the Full Edit tab and also the Create tabs do not work, what went wrong and how do I get them to work?
OK, open the Organizer, then click the icon for the Unwelcome Screen:
Hold down your Ctrl+Alt+Shift keys while clicking on the "Edit" button:
Keep the keys held down until the "loading" animation stops. Then close all the PSE windows and you'll see the prompt for deletion window.
Ken -
Show desktop not working in full screen app
The thumb & three finger swipe to show the desktop does not work for me if the screen is filled with a full screen app. If hte app is not full screen then the gesture works.
Is this a bug, does anyone else get this, what use is the gesture if it doesn't work with full screen apps??!
TIA,
JJohn,
No, the gesture doesn't work in full screen since technically there isn't a desktop under the full screen app. I just swipe to an adjacent desktop.
Regards,
Captfred -
Organizer full screen not working
When Photoshop elements 12 loads the full screen does not show. The top menu and left margin ( file selection folders) are not visible. Using Win 7 shortcut keys to maximise the window does not work. The editor works fine and all the win 7 shortcut keys operate correctly on the editor. Effectively the organizer is not functioning as I cannot select any folders as they are not visible
Sorry, man. No I never got an answer to the question. So I'm
just hoping that an update comes soon that will address this
problem. If you find out something, reply to this topic so I can
see if it works for me. -
I bought Adobe Elements 12; I cannot use panorama photomerge, I have followed the directions to go to Full Edit mode in edit workspace> choose File> New> Photomerge. However the Photomerge does not work, it does not respond.
The only thing I can come up with is that I found a blog that said that in the Trial version Photomerge does not work, however I do Not have the Trial version, I did at one time but I purchase Adobe Elements. Thank you.The blog was incorrect. Photomerge should work in the trial, too.
When things get weird in PSE the first thing to do is to delete the prefs. Go to the editor preferences>general, click this button and restart the editor:
Maybe you are looking for
-
Table for purchase orgn and vendor
Hi Experts I searched purchase organization EKORG in vendor display and its table, lfa1 and lfb1, but its not available, in which table i can get EKORG (purchase orgn) with reference to vendor code. thanks in advance. regards rajaram
-
What happened to all the entries in the "Contacts and Calendars" section?
Suddenly all I see are about 30 topics, 76 messages on only two pages of messages. Looks like most of them are in the "Mail" section, including the ones that are specifically about syncing contacts and calendars. Very confusing... coop
-
Has had 2 iTunes gift cards and the scratch off strip on the back leaves us unable to read the numbers and we can not retrive any songs without the correct numbers and letters. What can we do? Please help...
-
I'd like to be able to draw a disk of 2 mm diameter quickly. I'm working on MacOS X 10.4.11, and in my environment, the decimal separation character is the ",". Hence, for example, 2 and a half inch is written 2,5". I proceeded as follow: • open Page
-
How do i sort the raws which are there in one JTree. But here we have added JTree in JTable. And i want to sort the values of JTree depending on the click of the column of the JTable.