Hi!
Is it possible to set 'clipping bounds' in JOGL? Like in Java/Swing i would like to set clipping bounds and all drawing/rendering outside those bounds would be ignored.
I´m developing a Java solution for manage an iTunes Library (ITL file). The ITL format is a propietary one.
I'm looking for an implementation or a documentation about ITL format but Google can't find anything useful.
Does anyone have experience about that? Where to find more information?
Thanks in advance.
An Android Java project placed in a git repository and built in an Android tree in /packages/apps needs to have the project files located at the root of the git repository.
This is problematic for creating a complementary Test project, which should ideally be included in the same git repository so commits are atomic for both code and tests. Eclipse gets very unhappy if you include the Test project as a subdirectory.
Is there an appropriate approach for dealing with this other than creating a second repository?
Anyone used Hibernate to access a DB in a pure java app (not a web application)? What was your experience like, did it take long to set up and get going?
Hi,
I want to download you tube videos programatically (using Java). How can i convert you tube video link to a downloadable URL.
Browser plays youtube videos with following code.
I tried downloading from URL http://www.youtube.com/v/OdAE3cWlmHw
but it is not returning video bytes.
Thanks
Lalit
Hi,
Is it possible to calculate the bounds of a htmlized String in Java Swing?
I tried using the BasicHtml.createHTMLView, but kept getting the same prefSpan; irrespective of the component font.
Regards,
Pavan
In Java, I may have a class, for example, "utility" ....., and I have a static method called "changeToCapitalLetter", so , I can do something like this:
Utility.changeToCapitalLetter(String myString);
How can I do the similar thing in Objective C? thz a lot.
Dear all,
I am new to JPA, I used to used prepared statement in JDBC. Is there alternative to be used within JPA ? as there is a query which I call frequently
see this for info about prepared statment http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html
thanks in advance,,,
hi
i want to write a mapviewer, i must to work small tile of big map image file and there is need to tiling the big image, the problem now is to tiling big image to small tiles (250 * 250 pixel or like this size)
so on, i used ImageMagic program to do it but there was problem
now is any other programing method or application that do tiling?
can i do it with JAI in java? how?
I am using an Compiler called Polyglot which is a highly extendable compiler for Java.
I seem to have run into this Exception while trying to compile some test code:
"Invalid action number found in internal parse table."
How can I make a valid action number for the parse table?
I have a xml document. I know the index where i need to insert the new node. The index that i have is the position considering only the text nodes and ignoring the element tags. Is there a java api to seek the index in a xml knowing the position relative to the text nodes alone and insert a new node in that position?
Our company is planning to move to 64 bit JVM in order to get away from 2 GB maximum heap size limit. Google gave me very mixed results about 64 bit JVM performance.
Has anyone tried moving to 64 bit java and share your experience
How could I write a simple program using OpenType tables in order to dynamically render text?
please answer in :
assembly , C , C++ , C# , java or Python (and a little WPF:-)
or introduce libraries of them.
comments and answers about text rendering system of common Operating Systems, or designing text engines compatible with unicode 5.02 protocol are welcomed.
I am a Java programmer and was working on a project using Hibernate and Struts for some time.
Now For my new project, I am working on PHP and Mysql (learning PHP).
Is there any technology which is similar to Hibernate for PHP? If yes, can anyone give me the link where I can understand and use it?
Is there a POJO concept in PHP?
<body>
<form action="<%= blobstoreService.createUploadUrl("/upload") %>" method="post" enctype="multipart/form-data">
<input type="file" name="myFile">
<input type="submit" value="Submit">
</form>
</body>
the above code throws a java.lang.NoSuchMethodError on compilation.I can't understand and what is blobstoreService in the above code ?
Hi,
I have been working in Java for the last 6 months and have been using Hash Maps
What is the basic idea of a Hash Map ? I am using it as it easy for me to store so much data with direct key references rather than having to iterate through an arraylist ?
Where is the power of Hash Map seen ? What is the scientific idea behind this data structure ?
Hi i am trying to login site with request, using username and password , i can succesfully login the user than i want to parse some html and send it to database ,what it return is activex object that i can not do anything(by the way i am using java to do that) ,in order to bypasss the active x object what is your solution?
1-First come to my mind i can write c# application that using internex explorer dll than login user, it parse html and send it to database than i can use data in database
I want to use EC2 for some reasons and EC2 provides both windows and linux deployments, but linux is much cheaper (linux reserved instances are approx. %63-%85 price of windows ones and spot instances are %50 cheaper for linux). I need a type safe lang and mainstream platform and I prefer to use .net/c# stack (but not mono for some reasons), but in this situation java seems a better fit for the future (when ec2 instance counts begin to increase). So, is it worth to use .net ?
best regards,
I came across this questions on one of the online Java Tests. The options were 4,5,8 and any number of times.
I have only used one inner class, but have never tried multiple ones. I was wondering if anyone knows the answer.
Examining the attributes of UTF-16 and UTF-8, I can't find any reason to prefer UTF-16.
However, checking out Java and C#, it looks like strings and chars there default to UTF-16. I was thinking that it might be for historic reasons, or perhaps for performance reasons, but couldn't find any information.
Anyone knows why these languages chose UTF-16? And is there any valid reason for me to do that as well?
Is it possible to configure a WebServiceTemplate with a java keystore?
edit
I'm looking for a way to configure the location of the keystore in the spring config
Hi i generated private key(myrsaskey.pem) and kept the file in my local system. And i upload this file in google app application. Now i need a sample program which use Authsub, HMAC-SHA1,and this private key using Java. Please Help me.
Regards
Sharun.
I get following Error:
socketexception an established
connection was aborted by the software
in your host machine,
java.nio.channels.ClosedChannelException.
How can I solve this problem?
Hi,
I am looking for some service that can transform GPS coordinates into XY coordinates so that I can plot a point on an Image. Something like fromLatLngToContainerPixel would be great.
Thanks in advance.
P.S. I am developing a desktop application in java.