Click here to Skip to main content
14,423,437 members
   

Java

 
GeneralRe: ReaderWriter Problem Pin
pembepanter22-Dec-19 5:16
Memberpembepanter22-Dec-19 5:16 
QuestionJava reader writer project Pin
pembepanter10-Dec-19 23:28
Memberpembepanter10-Dec-19 23:28 
AnswerRe: Java reader writer project Pin
Richard MacCutchan11-Dec-19 0:04
communityengineerRichard MacCutchan11-Dec-19 0:04 
AnswerMessage Closed Pin
16-Dec-19 19:38
MemberMember 1468932316-Dec-19 19:38 
GeneralRe: Java reader writer project Pin
Richard MacCutchan17-Dec-19 0:31
communityengineerRichard MacCutchan17-Dec-19 0:31 
GeneralRe: Java reader writer project Pin
phil.o17-Dec-19 0:57
mvephil.o17-Dec-19 0:57 
GeneralRe: Java reader writer project Pin
Richard MacCutchan17-Dec-19 2:46
communityengineerRichard MacCutchan17-Dec-19 2:46 
Questionjfreechar tooltip not able to show Pin
Member 23212935-Dec-19 17:42
MemberMember 23212935-Dec-19 17:42 
I am generating barchart using jFreeChart and i need to make a customize content tooltip for the bar and here is my customized function on StandardCategoryToolTipGenerator and the problem right now is.. when mouse point to the bar the tooltip does not show

class MyTooltipGenerator extends StandardCategoryToolTipGenerator
	{

		@Override
		public String generateToolTip(CategoryDataset dataset, int series, int category)
		{
			
			return "generateToolTip";
		}

		@Override
		public String generateLabelString(CategoryDataset dataset, int row, int col)
		{
			return dataset.getColumnKey(col) + " " + dataset.getValue(row, col);
		}

	};

Both StandardCategoryToolTipGenerator and BarRender are customized as below:
MyTooltipGenerator std = new MyTooltipGenerator();
BarRenderer renderer = new MyBarRenderer();

when generating the content of the tooltip i make is as below:
BarRenderer rr = (BarRenderer) plot.getRenderer();
std.generateLabelString(dataset, row, column);
std.generateToolTip(dataset, row, column);
rr.setBaseToolTipGenerator(std);
plot.setRenderer(rr);

Problem now is the tooltip are NOT able to show.. is the tooltip required certain FORMAT? cause my plan is make the tooltip to be look like:

Quaitity: 50
Percetage: 80%

when the mouse point to the bar and it cannot display like above
AnswerRe: jfreechar tooltip not able to show Pin
Richard MacCutchan5-Dec-19 23:35
communityengineerRichard MacCutchan5-Dec-19 23:35 
QuestionWhat is a medium-size Java open source project with really well maintained automated tests? Pin
Member 146772343-Dec-19 19:49
MemberMember 146772343-Dec-19 19:49 
AnswerRe: What is a medium-size Java open source project with really well maintained automated tests? Pin
Richard MacCutchan4-Dec-19 0:19
communityengineerRichard MacCutchan4-Dec-19 0:19 
GeneralHelp with a website written in Java Pin
Tim Kohl26-Nov-19 0:13
MemberTim Kohl26-Nov-19 0:13 
GeneralMessage Closed Pin
26-Nov-19 22:57
MemberCarla Santos Alves26-Nov-19 22:57 
GeneralRe: Help with a website written in Java Pin
Richard MacCutchan26-Nov-19 23:59
communityengineerRichard MacCutchan26-Nov-19 23:59 
GeneralRe: Help with a website written in Java Pin
Tim Kohl27-Nov-19 22:21
MemberTim Kohl27-Nov-19 22:21 
GeneralRe: Help with a website written in Java Pin
Gerry Schmitz28-Nov-19 6:37
mveGerry Schmitz28-Nov-19 6:37 
QuestionMessage Closed Pin
24-Nov-19 7:42
Memberravens game24-Nov-19 7:42 
QuestionHelp With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 7:15
Membereskomo8424-Nov-19 7:15 
AnswerRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan24-Nov-19 7:23
communityengineerRichard MacCutchan24-Nov-19 7:23 
GeneralRe: Help With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 7:45
Membereskomo8424-Nov-19 7:45 
GeneralRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan24-Nov-19 7:52
communityengineerRichard MacCutchan24-Nov-19 7:52 
GeneralRe: Help With Sorting Multidimensional String Array Pin
eskomo8424-Nov-19 10:09
Membereskomo8424-Nov-19 10:09 
GeneralRe: Help With Sorting Multidimensional String Array Pin
Richard MacCutchan25-Nov-19 0:14
communityengineerRichard MacCutchan25-Nov-19 0:14 
QuestionJavaFX Background not beeing used on a ScrollPane element [Solved] Pin
Valentinor24-Nov-19 5:48
MemberValentinor24-Nov-19 5:48 
AnswerSolution Pin
Valentinor27-Nov-19 7:40
MemberValentinor27-Nov-19 7:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.