How to use StackOverflow ask button formatting in javafx app? [closed] - java

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 like the question formatting of stack overflow.
I am building a discussion forum kinda app in javafx.
Please guide me how can I do the same there?

StackOverflow uses Markdown formatting.
There are a few 3rd party components which allow authoring and rendering of Markdown in JavaFX. You could adapt these for your forum application. Listed in no particular order:
Brain Low: JavaFX Markdown Viewer
Markdown Pad FX
Flowdown
MarkdownFX
I have not used any of the above projects.
Also there are many HTML based Markdown editors, so you another option is to embed a Markdown HTML Editor in a JavaFX WebView, though I think a native JavaFX solution would probably be preferred if you can get that to work well for you.

Related

2D Real time graphics in Java (IntelliJ) [closed]

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 2 months ago.
Improve this question
I'm developing a program that need to display 3 real time graphs, currently I'm working on IntelliJ but if needed I'll move to another IDE like NetBeans, I've been searching some options but I have no clear idea of the direction what would be the best for this kind of aplications.
This will be running on a windows bases enviroment
My observed options are trying JFreeChart but seems to be not so good for the real time nature, I haven't been able to find much documentation of JavaFX with this kind of application and idk how the java.awt.Graphics would work
If you are interested in real-time charting then you should have a look at this library: https://github.com/fair-acc/chart-fx
But doing real-time charts is more than just drawing something. It also involves data acquisition, data reduction, etc. You should do some research first in order to find the best solution for your specific problem.

How to write a web browser in java [closed]

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

Fullscreen GUI that work on all OS [closed]

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.

Proceeding to build a template with Fireworks [closed]

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 have a image open-able in Fireworks and I was told to use it as a Joomla Template.
I'd like to have some tips on how to begin programming it.
Thank you.
You probably shouldn't do this in fireworks. Making a Joomla template requires knowledge of at least HTML, CSS and a bit of PHP. If you know how to build websites in general, you can find tutorials on how to build Joomla templates on their wiki.
If you have no experience in making websites what so ever, you really shouldn't start by making a template for a CMS. You can't simply use an image as a template.
I don't know who told you to do this, but from the way you ask this question, I must admit I think you are in way over your head! :S

Slide tab bar like in android market [closed]

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 8 years ago.
Improve this question
Does anyone know how to implement the bar like in android market (Categories, featured, top paid...) I've also seen it in the new version of SuperUser so i know it can be done. Thank you for your responses!
Thanks to Selvin for the response.
See as suggested:
https://github.com/JakeWharton/Android-ViewPagerIndicator
or this for a quick tutorial:
http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html
Jake Wharton's Android-ViewPagerIndicator is a good option, but it doesn't support underline bar movement like below images(you can see what "underline bar movement" is as video at here).
I think Astuetz's PagerSlidingTabStrip is an another good option for this regard, since it gives more natural and interactive user experience.
This implementation is available at Github.
See: https://github.com/astuetz/PagerSlidingTabStrip
Also you can download sample app at Play Store.

Categories