Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am very new in Java. I want to use a code for full screen form. I want that is working in all OS. I found a code that used AWT, but AWT does not work in Linux.
I need a code that doesn't use AWT.
Although statement "AWT does not work in Linux" sounds very strange I have to mention that you indeed need more than AWT to create full screen application in java. Take a look on the tutorial http://docs.oracle.com/javase/tutorial/uiswing/misc/trans_shaped_windows.html
that explains a lot of nice techniques including full screen windows. Search for full-screen (with dash) in this article.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Working on this desktop application, every thing is going great. Had some troubles her and there, but fixed every single on of them.
The only problem is that my app look ugly, that is what my boss thinking.
Done some research found javaFX but a lot of forums calling it dead or dying
is true ??
And if not any one has a good tutorial on it
JAVAFX
I liked it a lot, but I do fear they came a bit late to the show. It is also relative complex (but nicer than swing, I find) compared to web frontend frameworks
On the last devoxx conference, Oracle profiled javaFX as a platform for mobile. Maybe it has a chance there.
For tutorials: just google....
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to make android program :--
As like this picture.
How can I make??
I have to try Animation??or video???
Pls just tell me the process how can I achieve that.
I think the simplest method would be to use the AnimationDrawable class. The process is pretty simple. You would make a series of images in Illustrator, Photoshop, etc. showing the heart in its various stages. Then you would copy them to the /res/drawable folder in your Android project. Then follow the code examples here. As shown, you can specify the duration of each animation frame as XML code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am working on a Java project. Since Java main feature is portability, I want my application to look like a native windows app when run on windows or a native Mac app when run on mac.So how to I achieve that with Swing?
Swing supports Look&Feels to alter how components behave and are displayed.
For each platform, there is a System Look&Feel which mimics the underlying platform:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
have you tried to do it as in in http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html#programmatic ?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am an amateur java program developer and was wondering if anybody knows how to write a web browser in java if possible.
If you need a component to render HTML, JEditorPane in the javax.swing library is capable of doing it for basic HTML. You could mock browser behavior by adding an input for entering a URL, getting markup, and setting it to the editor pane. Tracking URL history and that sort of thing would be up to you, and it could be a decent project for learning a lot about Swing, event handling, concurrency, etc...
If you're looking at building your own rendering engine for HTML, CSS, and JavaScript... that's a much larger problem.
http://docs.oracle.com/javase/7/docs/api/javax/swing/JEditorPane.html
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am in the process of learning JavaFX and I am looking for a tutorial about updating a JavaFX display with a java object. For example, receive status updates # 1hz from a server and display them on the fx window. Is this possible? If so, are there any tutorials?
Thanks in advance.
It is my understanding that calling JavaFX from Java is not well supported at this time. However, here are two blog posts that at least touch on the subject:
How to Use JavaFX in Your Swing Application
Calling JavaFX From Java?
I think a more natural solution is to provide an access point in your Java code and set up JavaFX to periodically poll for new updates, i.e. JavaFX asks for new data rather than having Java tell it.