<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/jquizz/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/jquizz/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 26 Sep 2013 12:59:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jquizz/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by CreepyMulder</title><link>https://sourceforge.net/p/jquizz/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,114 @@
-Welcome to your wiki!
+Presentation of JQuizz
+======

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+&lt;h4&gt;What is it ?&lt;/h4&gt;

-The wiki uses [Markdown](/p/jquizz/wiki/markdown_syntax/) syntax.
+JQuizz is a toolkit to easily create swing based multiple choice questions (or Quizz). It tries his best
+to make your life easier by making you focus only on the actual content of your quizz, and not spending time
+on the machinery. 

-[[members limit=20]]
-[[download_button]]
+&lt;h4&gt;What does it look like ?&lt;/h4&gt;
+
+With the default graphic settings, you can easily obtains something like this :
+
+&lt;div align="center"&gt;
+&lt;img alt="img" src="http://creepymulder.com/JQuizz/2.png" rel="nofollow" /&gt;
+&lt;/div&gt;
+
+You can set up the maximum number of choices the user can select, and if this number is reached, the other
+choices will be greyed out.
+
+A result page will also be generated : 
+
+
+&lt;div align="center"&gt;
+&lt;img alt="img" src="http://creepymulder.com/JQuizz/8.png" rel="nofollow" /&gt;
+&lt;/div&gt;
+
+By default, a correctly answered question will be displayed in green, with the correct choices in bold, and an
+uncorrectly answered question will be displayed in red, with the correct answers in green/bold, and the user's
+answers underlined.
+
+An explanation of the answer can be set and will be displayed at the bottom of the question in the result page.
+
+If the user got all the right answers, he gain a point, and if he made any mistake, he doesn't get one.
+
+&lt;h4&gt;How can I use it ?&lt;/h4&gt;
+
+After adding the packages in your project, you just have to instanciate a QuizzDataEntry object, specify the data,
+create a Quizz object with the QuizzDataEntry object as a parameter, and put the Quizz object in the content pane.
+
+See the following example : 
+
+~~~~~~
+//We instanciate a QuizzDataEntry to enter the data
+QuizzDataEntry quizzData = new QuizzDataEntry(); 
+       
+quizzData.setNumberOfQuestions(3); //Number of questions in the quizz
+quizzData.setMainTitle("Quizz 1 : Random stuff"); //Set the main title of the quizz
+//Set the title of the result window
+quizzData.setResultTitle("Result of Quizz 1 : Random stuff"); 
+   
+//Select the question 1
+quizzData.selectQuestion(1); 
+       
+//Set the title of the question
+quizzData.setTitle("Question 1 : What do cats really like ?");
+       
+//Set the choices
+quizzData.addChoices(1, "World domination");
+quizzData.addChoices(2, "Being a good pet");
+quizzData.addChoices(3, "Taking a bath");
+quizzData.addChoices(4, "Killing birds");
+quizzData.addChoices(5, "Dogs");
+       
+quizzData.setCorrectAnswers(1,4); //The choices 1 and 4 will be the correct answers
+quizzData.setNumberOfAnswers(2); //The user can only select two answers at the same time
+           //If this is not set, the user will be able to select all the answers
+       
+//(Optional) Set an explanation that will be displayed in the result window
+quizzData.setExplanation("Cats strive for world domination, their 
+                       first step is to kill air support : birds."); 
+
+//Select the question 2, and so on !
+quizzData.selectQuestion(2);
+
+[...]
+
+//Instanciate a Quizz object with a QuizzDataEntry object as a parameter, 
+//and put it in your contentPane
+Quizz quizz = new Quizz(quizzData);
+setContentPane(quizz);
+~~~~~~
+
+There are some Exceptions in place that will stop the thread if they are illogical in put (like selecting question
+number 9999).
+
+If you wish to create multiple Quizz inside the same application, you may wish to use the .resetText() method
+inside the ResultWindow class, that will erase the content of the variable that contains the whole correction's text,
+because otherwise it will just keep adding text and each completed quizz.
+
+
+&lt;b&gt;(!)&lt;/b&gt; Note that the windows are designed to be correctly displayed on a 800*600 JFrame with 5 choices at most. If you want
+to add more choices or display the quizz in a bigger/smaller window, you may have to modify some graphic
+options as described below.
+
+&lt;h4&gt;Where can I modify the graphic options ?&lt;/h4&gt;
+
+This part is not really user friendly at the moment. In the package jquizz.quizzdesign, you have two classes :
+
+- QuestionWindow.java : Represent a typical window for a question
+- ResultWindow.java : Represent the result window
+
+Each of them have a placeElements() methods that contains all the graphics property, it's up to you to mess with them.
+
+&lt;h4&gt;Known issues and Todo-list&lt;/h4&gt;
+
+There's a few things I'm thinking about :
+
+- It's not possible at the moment to use a completely different QuestionWindow or ResultWindow if there
+are multiple Quizzs.
+- Pulling data from a database or files would be cool.
+- More user-friendly stuff to change the graphics
+- More checks for inconsistent data.
+- Any ideas ?
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CreepyMulder</dc:creator><pubDate>Thu, 26 Sep 2013 12:59:43 -0000</pubDate><guid>https://sourceforge.net24852860f7e4e1386b344f369d93eb1830cbc831</guid></item><item><title>Home modified by CreepyMulder</title><link>https://sourceforge.net/p/jquizz/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/jquizz/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/creepymulder/"&gt;CreepyMulder&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-52442bf03e5e831e48806120" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">CreepyMulder</dc:creator><pubDate>Thu, 26 Sep 2013 12:43:28 -0000</pubDate><guid>https://sourceforge.net9d1d2352aa64d2c0690496b4c6bd31c99b41730e</guid></item></channel></rss>