I am trying to dislplay a kannda character in a Java app.
String fonts[] = ge.getAvailableFontFamilyNames();
This shows that there is a font family by name "BRH Kannada"
Font f = new Font("BRH Kannada", Font.PLAIN, 20);
and then I do
button.setFont(f);
now when i set the button text, I have to ideally get the text on button to use the BRH kannada font.
However, what and how should I give the string as?
I had read a lot of post from the web, but I still cannot find out how can I make this out. Please help me in detail.
I need to make a split-view inside a navigation because I need to make a login system. After login, then we can see the split view.
I found that someone say must need to set it to be root view, some say do not need. However I cannot do it in both way.
Can anyone teach me how to do that step by step??
Here is what I did.
- (void)viewDidLoad
{
[super viewDidLoad];
GOTSorOE_EN *gotsORoeEN = [[[GOTSorOE_EN alloc]initWithNibName:@"GOTSorOE_EN" bundle:nil]autorelease];
OEFileList_EN *oeFileListEN = [[[OEFileList_EN alloc]initWithNibName:@"OEFileList_EN" bundle:nil]autorelease];
gotsORoeEN.oeFileListEN = oeFileListEN;
splitViewController = [[[UISplitViewController alloc]init]autorelease];
splitViewController.viewControllers = [NSArray arrayWithObjects:gotsORoeEN, oeFileListEN, nil];
self.view = splitViewController.view;
}
Hello,
I am having a rather strange problem, I deployed 2 .NET applications on my machine. Both run on v2.0.
Now, while one of it works smoothly, the other one doesn't even start! Moreover, it doesn't throw any error, I couldn't see any error listings in the Event Viewer.
Becoming hard to debug. On every other machine, both the exe's work perfectly fine!
Any known issues?
Thanks
I am having issues with RAD7.
My server will not start for me today. I am working from home and connected to the VPN. Everything works except my server in RAD. It worked fine yesterday in work and had previously worked when I was at home but that was a few weeks ago.
Are there any settings that I should look out for? I have disabled my proxy settings in RAD and turned off everything in my firewall. I can ping all the DBs that the server is connecting to.
I have even removed all the projects from the server and it will still not start. It keeps trying and then times out after 300s.
Any suggestions?
Currently we are generating HTML Reports for Automation, but those reports are not good enough to explain number of scenario which we cover in Automation, Is there anything we can use with Selenium to generate a proper reports which can give a complete overview and can easily understand by anyone
First Thing we can show a complete pie charts which cover number of test case passed and Failed.
Second thing we can show, what are test cases are there in this build.
I have this peice of code in my handler.js, I'm getting the correct serverData value throught ajax, ( Well it's echoed correctly un the alert box) but no matter what, i just cant seem to enter either of the 'if' blocks. I have double checked the type and it is a string. Something is definetly funky.
function uploadSuccess(file, serverData) {
try {
var progress = new FileProgress(file, this.customSettings.progressTarget);
alert(serverData);
if(serverData == "uploadSuccess") {
progress.setComplete();
progress.setStatus("Completed");
progress.toggleCancel(false);
}
if(serverData == "uploadError") {
progress.setError();
progress.toggleCancel(false);
progress.setStatus("Error: X");
progress.toggleCancel(false);
}
}
catch (ex) {
this.debug(ex);
}
}
Hi,
I completely revamped an app. Tested it for a while on my device and emulator. The app worked fine. However when I updated the app through the Android market, my users experienced crashes.
Since there is no way to properly debug this procedure I asume the crash is caused by old data which is not being removed from the device (probably from the onsavedstate bundle?!).
Is there a way to do a "clean/total" reinstall without having the user to do it manually?
Best Regards
Johe
Hi. I need to take a picture from a webcam into a webapp (PHP5/JQuery/HTML5) but I don't want to use Flash; Is there a light java applet or any alternative technology for this?.
I have used a library like ZendFramework in my project which I have put in Subversion.
Now I want to update the version that I have put in Subversion.
What's the best way to do this? Copying, taking a svn diff and patching the working copy or just copying the new files over the old files?
I have tried svn diff with svn diff
but this doesn't output anything.
Normal diff outputs some stuff but it also considers the .svn directories.
Hi friends,
How I can develop 'Search Engine Friendly' web app in GWT? Take an example of StackOverflow it self, its a web app and should be SEO friendly allowing user to search from search engine. If some one want to develope same app in GWT. How one can make it SEO friendly?
As GWT contain a single HTML file. How we can allow its inner content to be visible in SE?
Any suggestion or comment, will really help. Thank you.
Is there a way to capture the screen but without the app itself getting shown. I know how to minimize or make a frame invisible but this has to be done real fast cos it's going to happen alot in each second (at least once every second). I want it to look something like the magnifier in Windows Vista/7. (The app can see behind itself.)
Thanks in advance.
I am working an iphone app where i am giving the option of downloading an image to user's iphone. Following is my code for downloading of image.
UIImage *image = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:urlAddress]]];
NSString *pngFilePath = [[[NSString stringWithFormat:@"%@/",docDir] stringByAppendingString:[NSString stringWithFormat:@"%@",couponID]] stringByAppendingString:@".png"];
NSData *data1 = [NSData dataWithData:UIImagePNGRepresentation(image)];
[data1 writeToFile:pngFilePath atomically:YES];
My above code works fine but now i want to give option of deleting the image downloaded from above code. Can some one please advice me how can i delete a image file from iphone.
I have a HashMap object that I am getting on a JSP page.
HashMap<Integer,Gift_product> gift_hm = new HashMap<Integer,Gift_product>();
gift_hm.put(17,new Gift_product("doll",67));
Now I need to iterate this and display content on JSP.
The Gift_product class contains two fields: name and price.
JSP output should be
serial no. product name price
17 Doll 67
How can I achieve it?
We are really in a mess. The following is what happened.
We have taken backup of WSS_Content database.
From Central Administration Page we remove the database.
Added a new database for the website.
Now we are getting the below error
HTTP/1.1 404
Connection: close
Date: Wed, 07 Apr 2010 10:04:54 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
MicrosoftSharePointTeamServices: 12.0.0.4518
Even replacing the database not helping. Can someone help us??
I am parsing html file with the help of the html agility pack to extract the table data from the html file. But there is some html files where there is no ending tags which is optional or there is no starting tag which is also optional.So html agility pack does not parse that html page properly.If I open the content of that html file in the notepad++ then with the option TestFX-->TestFX HTML Tidy-->TiDy clean document and make the content tidy like this. And now this file If I parse with the html agility pack then it parse it properly.
Making html page tidy with notepad++ is best option.
So I don't know but user can not do this like first he/she makes the page tidy with notepad++ and then go ahead.Then what should I do ?
Considering the fact that all applications will interact with the web project (which will use the cloud or web services)..
Is there any way to share my class models between applications?
If yes, what is the best way to do it?
About sending / receiving data from the Webservice, serialize and deserialize, how can I do this in a simple way without having to manually populate the objects?
Any information about this applications would be really helpful!
Hi everyone!
Recently I was asked by someone if there is such a magic framework that will allow one let's say to design and build once a single library of controls and then use them separately to build web and desktop applications.
Does Google, Microsoft or other company have such a RAD framework and tools?
Thx
I've been away from GUI programming for quite some time so please pardon my ignorance.
I would like to attempt the following:
Write a Mac OSX app but still be able to port to Win/Linux (i.e. C++ core with Obj-C GUI)
Avoid Qt/other toolkits on OSX (i.e. talk to Cocoa directly - I feel that many Qt apps I use stick out like sore thumbs compared to the rest of my system)
Not as important, but it would be nice to avoid Visual Studio if it means I can have the freedom to use newer C++ features even on Windows if they help create better code.
I believe this configuration might get me what I'm looking for:
Core C++ Static Library
OSX GUI (Cocoa)
Windows GUI (Qt+MinGW?) OR (no new C++ features, Visual Studio + ManagedC++/C#/????)
Linux GUI (Qt)
Once again, sorry for my ignorance but is this possible? Is this sane? Are there any real-world open source examples accomplish something like this?
I have a very large form I need the user to complete. They need to be able to save their progress whether valid or not. When they have come back at a later time, they can update and make valid - then submit the data.
I am using client side scripting (xval), server side attributes on the domain model.
When I run my Win32 application the Windows language bar (which is visible in all other applications) disappears after about 5 seconds. It reappears if I quit my application or alt-tab to a different application. If I alt-tab back into my application, it disappears again after five seconds. The switch key doesn't work either.
It seems as if the system somehow has concluded that my application doesn't "support" the language bar.
Is there something I need to do to for the language bar to be enabled? Or something I shouldn't be doing that can cause it to disappear?
The application has a single custom window (where I draw DirectX graphics). I've looked through the arguments to CreateWindow and RegisterClass as well as the window messages that I handle (instead of passing to DefWindowProc) but nothing seems to be directly related to the language bar.
I've only tested this on Windows 7.
Hi ,
I have a modal that will be shown and then I have an export button which should bring up the save dialog, if I have use h:commandButton, the validation checks are bypassed , but works well. If I use a4j:commandButton, validations are done perfectly but I dont see the save file dialog.
Can somebody help me.
thanks
I'm at a loss to explain this one:
I'm getting an error "91" (Object or With block not set) on the second line below:
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("SELECT * FROM employees")
The following also causes it:
Set rs = CurrentDb.OpenRecordset("employees")
Executing ?CurrentDb.Name alone in the immediate window causes the error as well.
Now, clearly the database is open since I'm editing the form within it, so what can cause this error here?
I am trying to use the below in my app.config
<add key="InstanceID" value="HID\VID_413C&PID_3200\6&227E6ED3&0&0000" />
It shows error in app.config, what is the problem ? i want to use this value as string in my c# code.
i create my own dialog form with two buttons (ok, cancel) and checked list box. i want to get all selected strings in first form which shown second form. for that purpose i do function GetSelected which return CheckedIndices-GetEnumerator() of my list box. now i want to deselect all strings on pressed cancel button. And deselect all strings on close form by pressing X in corner of form. how to track click the X?