I'm writing a GUI with Swing and I'm trying to integrate a microsoft chm help file. The problem is, I don't even know where to start. Can anyone recommend a library/tutorial as a starting point for a project like this? Specifically, I'd like to know about how to open/view specific pages or inidices (I don't even know exactly what the terminology for .chm files is) from java.
Thanks!
I actually decided to go in a different direction for this project in particular (one that doesn't involve a MS help file), but here's a couple of helpful links I found in case anyone else runs into this issue:
Wikipedia article on MS help format
jchm: a java library for using chm files. I didn't investigate it too thoroughly, but it's a starting point.
Related
I'm currently working on a simple Java project where I wanted to test if DRM in java is possible.
I had different thoughts about an approach to this topic.
My last idea was about running java code without having the source or any physical copy of the program on my machine. So, for example, I have a Program on my machine that kind of downloads the compiled classes into memory and then runs it from there.
I know that this is possible in other languages.
My problem is that I don't know if this is possible at all and if so what I have to search for? I already googled my question in several ways but not received an answer that was helpful.
Maybe you can tell me if the way would work at all and what I have to search for then.
If you have another approach for DRM in Java I would be grateful if you let me know.
I want to run simple-demo from samples but I don't have success. What is its URL and how to reach its content?
The internationalization of usermanager-ui also doesn't work, although I installed the org.apache.sling.i18n bundle. If someone can give me a guidance I will be very happy.
In general why everything is so poor explained? The motto of Sling is "Bringing Back the Fun!", but in the last few days I didn't have so much fun! It's really painful to try to test or make something. Is there any good tutorial or book about this framework?
P.S. If I run all samples without any problems, I would create a detailed tutorial.
My personal opinion is that simple-demo is not a very current sample, I'd rather recommend hat you look at the slingbucks or espblog samples, as mentioned at http://sling.apache.org/documentation/getting-started/discover-sling-in-15-minutes.html
We might need to cleanup the Sling samples at some point, and concentrate on a few representative ones - I've put that on my way-too-long-list-of-things-to-do.
Just go through the readme.txt of the respective samples.
I was wondering if anyone knows a good tutorial that explains how to use SQLite with libgdx. All the ones I have found don't explain it well and I'm having trouble figuring out how to use it. So if you know of one that explains everything decently please give me the link to it. Thanks in advance.
Notice that the extensions available won't work for multi-platform, at max you'll be able to support Android and Desktop. My advise is for you to create your own classes for methods for accessing info stored as files on the device trough the LibGDX File API. You won't get to use SQL and it will certainly take longer but you'll get try multi-platform support (if that is what you're looking too of course).
https://code.google.com/p/libgdx-users/wiki/SQLite
Try this, although it is rather a suggestion of implementation rather than a full blown tutorial.
A Libgdx user proposed an SQLite extension several months ago. Its definitely a work-in-progress, but might be a good place to get some ideas or borrow some code from: https://github.com/libgdx/libgdx/pull/222
I have a website which is pretty good but with very less information.
So i felt like adding informtion like news regarding particular sector(for eg politics, hollywood etc). I believe crawlers are best approach to do so? Is my understanding correct, please suggest if you feel any other way to get information without using crawlers from various sources.
Secondly I am doing research from last 2 days and I cannot find a particular source which is capable of doing so. Now I want crawlers to find information, normalize and store in mysql database. Sounds pretty simple ha. But It isnt for me.
As this is very resource and time consuming . what all things should i take into consideration before choosing a crawler. Also I wish to customize it so any tool which is open source and good to be customized will be great.
Any source giving information and research about factors need to take into consideration while creating crawlers or educating about crawlers will be great.
I prefer coding in java but i can code in any other language in case you feel that you have some language.
I hope i have given enough information. Please dont hesitate if you need any more information to give suggestion.
You can use httrack to copy a target website. There is one firefox plugin as well named spiderzilla. But, they will just save the pages.
If you want to parse the data in the pages, then you can use simple_html_dom and store the information in mySQL.
Try the GNU Wget tool. You can add a lot of intelligence to the way it crawls and creates data dumps of web pages. It is open-source and customisable as well, and very fast too.
I am a fairly novice Java programmer and I am currently working on a project to extend a piece of software that has been developed over a few years.
So it has pretty big code base and the previous developers knew it well, so extending it is not going to be easy without a thorough understanding of the structure and function.
1) I had begun by trying to tackle small parts of the system and document them with mindmap. (particularly I am trying to document the interactions with external systems)
2) I have the book "code complete", which I am working through.
3) I have pointed some tools like "tattletale" at the code to get some diagrams of dependency relationships.
What other strategies should I employ, should I focus on one particular aspect?
10 Start small.
20 Break things.
30 Then fix what you broke.
40 Goto 20
Maybe you could try to model the problem the program is meant to solve. If you have a clear understanding of the problem and limitations imposed on the solution, then it should be easier to understand the program itself. I am just guessing here, as I do not know what sort of program it is.
It is important for you to find a good coach on the project. Go for a nice guy, who knows the system and who likes to answer your questions.
Also have the architect explain you the system. If it is a good one he can point you to the important parts and point you away from the parts you do not need to know (yet).
Then try picking up small issues. Even stupid error messages and go from there. In a few weeks you should be able to grasp the basics of the system.
Good luck!